- From: Brian Sexton <discussion-w3c@ididnotoptin.com>
- Date: Fri, 1 Oct 2004 08:38:56 -0700
- To: "Ian Hickson" <ian@hixie.ch>, "Andrew Thompson" <lordpixel@mac.com>
- Cc: "www style" <www-style@w3.org>
Good morning, everyone! >> Insofar as I can tell, there's NO ideal way to do this in CSS. > > Make (1) display: table-row, and (2) and (3) display: table-cell, with the > element containing all three (possibly the <body>) display: table with > width: 100%. So using tables for layout of non-tabular content via HTML is a no-no, but using "display: table", "display: table-row", and "display: table-cell" for such content is okay? Or would that be considered a non-ideal hack while waiting for better support of other properties? This reminds me of something: Is there any CSS property--either extant or proposed--to control whether a box containing floated content elements--paragraphs, for example--should be collapsed (as in Gecko) or retain the height it would normally have (as in Internet Explorer sometimes--apparently when style information is applied externally of an element, but not when applied directly to the element)? If not, should there be? It seems that such a property would be useful for when it is desirable to see a containing box (for background and border colors, for example) in multi-column layouts such as the one in Andrew Thompson's diagram. Kind regards, Brian Sexton
Received on Friday, 1 October 2004 15:38:52 UTC