Re: Why no compositional positioning?

On Mon, Mar 16, 2009 at 8:47 AM, Thomas Davie <> wrote:
> Hi,
>  I have wondered for a long time, but never previously asked, why does css
> not support a compositional positioning mode which positions elements
> relative to the top left of the parent div?  This layout mode would make
> several layouts significantly easier, and allow for easier transplantation
> of elements from page to page, as layouts would continue to work everywhere.
> Is there an obvious reason for the omission that I'm missing, or has it
> simply not been thought of?

Can you be more specific about exactly what you're wanting?  It seems
like this can be accomplished solely by making the parent a
positioning ancestor (by making it position:relative, frex) and then
using absolute positioning on the child.


Received on Monday, 16 March 2009 13:57:57 UTC