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>
<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!