W3C home > Mailing lists > Public > www-style@w3.org > July 2003

Re: interpretation of float model - Mozilla vs Opera & IE

From: Chris Moschini <cmoschini@myrealbox.com>
Date: Tue, 22 Jul 2003 10:44:26 -0400
To: afternoon@uk2.net
CC: www-style@w3.org
Message-ID: <1058885066.f2454300cmoschini@myrealbox.com>

Thanks Ben/Afternoon.

One unintrusive way this could be made possible is to change the way that min/max-width are honored. For example in:

div {
	float: left;
	min-width: 20em;
	width: 33%;
	max-width: 100%;
}

With 3 divs, if 2 sit at the top and the third wraps below, we get the runaround problem today. But when there is nothing else intruding on its space, the third div could expand to 100% (max-width) of the space available... .

If this is seen as too destructive to float a float-style property could be added:

float-style: static | flow;

If this sort of display makes sense with other elements in CSS it could be added to the set of display values:

display: flow-block;

In CSS3 this could be better placed:

display-role: flow;

Though I disagree with the unintuitive CSS3 naming of display-role and display-model (they're just display-outside and display-inside).

-Chris "SoopahMan" Moschini
http://hiveminds.info/
http://soopahman.com/
Received on Tuesday, 22 July 2003 10:44:44 GMT

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