W3C home > Mailing lists > Public > www-style@w3.org > October 2004

Re: Box model: min-margin and max-margin, max-padding and min-padding

From: Andrew Thompson <lordpixel@mac.com>
Date: Sat, 2 Oct 2004 12:04:56 -0400
Message-Id: <CDB1EE5F-148C-11D9-ACA1-000A27D7D9DC@mac.com>
To: www style <www-style@w3.org>


On Oct 2, 2004, at 4:54 AM, Brian Sexton wrote:

>
>> | > 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?
>> |
>>
>> The best way would be to use hypothetical "flow" attribute.
>>
>> . . .
>
> That sounds pretty swell except for the bit about it being 
> hypothetical. Somewhat less hypothetically, "display: inline-block" 
> seems like it may be another good way to accomplish that kind of 
> layout except that most browsers do not yet seem to support it (or at 
> least, they do not yet support it well); Opera is a notable exception.
>
> http://www.w3.org/Talks/2003/0521-CSS-WWW2003/inline-demo.html
>
> http://www.hixie.ch/tests/adhoc/css/box/inline-block/


Ah, I'd forgotten about inline-block. I tend to have a blind spot for 
things that are mostly unimplemented.

Does the display: table stuff actually work in any browsers either?

AndyT (lordpixel - the cat who walks through walls)
A little bigger on the inside

         (see you later space cowboy ...)
Received on Saturday, 2 October 2004 16:04:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:34 GMT