Connecting Tech Pros Worldwide Forums | Help | Site Map

Re: Another float/clear bug in IE 6+?

Ben Bacarisse
Guest
 
Posts: n/a
#1: Aug 3 '08
Elias <thegreatpain@gmail.comwrites:
<snip>
Quote:
Quote:
>Â*Elias <thegreatp...@gmail.comwrote:
Quote:
I am attempting to float a number of div elements side by side, whilst
allowing multiple rows to form when there is not sufficient horizontal
space.
<snip>
Quote:
Quote:
Quote:
A demonstration (generally available daytime UTC):
>http://styx.corner.no-ip.com/test/float.html
<snip>
Quote:
Consider the 9 rules governing the behaviour of floats, in the CSS 2.1
specification: http://www.w3.org/TR/CSS21/visuren.html#propdef-float
In my opinion, Internet Explorer is directly violating rule #5, by
placing the outer top of div 3 above the outer top of div 2. IE seems
to obey rules 8 and 9 - that higher placement is preferred - whilst
not observing #5 (though they are not mutually exclusive, as proved by
the other browsers!).
As you say it seems quite clear-cut that rule 5 is being violated.
Can you change the source? All is well if divs 2 and 3 are put into
another one and the clear property is applied to that containing div.

--
Ben.

Elias
Guest
 
Posts: n/a
#2: Aug 3 '08

re: Re: Another float/clear bug in IE 6+?


On 3 Aug, 14:36, Ben Bacarisse <ben.use...@bsb.me.ukwrote:
Quote:
Elias <thegreatp...@gmail.comwrites:
>
<snip>
>
Quote:
Quote:
*Elias <thegreatp...@gmail.comwrote:
I am attempting to float a number of div elements side by side, whilst
allowing multiple rows to form when there is not sufficient horizontal
space.
<snip>
Quote:
Quote:
A demonstration (generally available daytime UTC):
http://styx.corner.no-ip.com/test/float.html
<snip>
Quote:
Consider the 9 rules governing the behaviour of floats, in the CSS 2.1
specification:http://www.w3.org/TR/CSS21/visuren.html#propdef-float
In my opinion, Internet Explorer is directly violating rule #5, by
placing the outer top of div 3 above the outer top of div 2. IE seems
to obey rules 8 and 9 - that higher placement is preferred - whilst
not observing #5 (though they are not mutually exclusive, as proved by
the other browsers!).
>
As you say it seems quite clear-cut that rule 5 is being violated.
Can you change the source? *All is well if divs 2 and 3 are put into
another one and the clear property is applied to that containing div.
>
--
Ben.
I ended up removing the clear style from div 2 and introduced a zero
size div with the clear style, right after number two. Hoped to avoid
this, but alas!
Thanx for verifying my suspicions!
Closed Thread