Connecting Tech Pros Worldwide Help | Site Map

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

 
LinkBack Thread Tools Search this Thread
  #1  
Old August 3rd, 2008, 12:45 PM
Ben Bacarisse
Guest
 
Posts: n/a
Default Re: Another float/clear bug in IE 6+?

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.

  #2  
Old August 3rd, 2008, 03:25 PM
Elias
Guest
 
Posts: n/a
Default 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!
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.