W3C home > Mailing lists > Public > www-style@w3.org > January 2011

Re: [css3-flexbox] intuitivity and width computation rules

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 13 Jan 2011 12:50:52 -0500
Message-ID: <4D2F3B7C.5090507@mit.edu>
To: Rob Crowther <robertc@boogdesign.com>
CC: www-style list <www-style@w3.org>
On 1/13/11 11:56 AM, Rob Crowther wrote:
> Yes, since I'm particularly interested in how these things are applied
> to elements which aren't tables. Like for instance in a setup like this:
>
> body:table
> div:table-row
> div:table-row
> div:table-cell
> div:table-cell
> div:table-cell
> div:table-row
>
> Why do the first and last div become the width of the first child div of
> the second div? It happens consistently across Firefox, Opera and Chrome
> so I assume there is some agreement of how it should work, but why are
> the three table-row divs not all the same width?

The rows in a table should all be the same width.  What's the actual 
HTML+CSS involved here?

-Boris
Received on Thursday, 13 January 2011 17:51:56 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:36 GMT