Re: Why no compositional positioning?

Thomas Davie wrote:
> Thanks, okay, I don't yet fully understand what's going on here then.  I 
> have an example which I expect to produce a table using divs (yes, I 
> know, this is as bad as producing divs using tables, but it's a good 
> example of trying to achieve a certain layout and apparently being 
> stymied by css:

Is there a reason to not be using the table-* display types here?

> I had assumed previously that absolute positioning was positioning 
> elements relative to the top-left of the document window

They're not.  But they _are_ taken out of flow.

> causing the 
> absolutely positioned elements to not be part of their parent div, and 
> hence the relatively positioned ones to have a height of 0.

Which gives that result.

-Boris

Received on Monday, 16 March 2009 14:45:39 UTC