On 05/10/05, Spartanicus <spartanicus.4@ntlworld.ie> wrote: > Ben Ward <benmward@gmail.com> wrote: > > >The ability to equalise the height of two elements based on the > >content of the largest element remains the biggest layout issue. > >Solving that through any means would probably satisfy most of the > >requirements for a new layout model. > > This has been part of CSS since v2.0: > http://www.w3.org/TR/REC-CSS2/tables.html#q2 > Usage demo: (needs a CSS 2 browser, IE doesn't qualify) > http://homepage.ntlworld.com/spartanicus/css_layout.htm That is technically true, however using CSS2 display:table-* for the layout of the entire page is markup-order dependent. For example: A simple 2-column layout with navigation on the left, requires the navigation mark-up to come before the content. For some cases this can work fine (either by coincidence or minor compromise to content-order optimisation), but it's really not suitable for page layout in most cases. Declaring a grid in the manner Bert describes allows 'table-like' layout (I want a better phrase than that ;-)), but is content independent. Ben http://ben-ward.co.ukReceived on Wednesday, 5 October 2005 16:34:08 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:41 GMT