- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Mon, 16 Mar 2009 08:57:18 -0500
- To: Thomas Davie <tom.davie@gmail.com>
- Cc: www-style@w3.org
On Mon, Mar 16, 2009 at 8:47 AM, Thomas Davie <tom.davie@gmail.com> 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. ~TJ
Received on Monday, 16 March 2009 13:57:57 UTC