HighDots Forums  

Re: IE float bug?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: IE float bug? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Graham J
 
Posts: n/a

Default Re: IE float bug? - 12-18-2003 , 02:36 PM






Quote:
In IE6, the c1 divs are all lined up along the left side of the page.
The c2 divs are lined up along the right side of the page. Both
columns start at the top of the page.
Opera does the same as IE6.

Quote:
In Mozilla (Firebird), c2 divs starts down the page next to the last
c1 div. This makes sense. The c1 divs are constantly clearing left,
which will affect the placement of the c2 divs.
The IE and Opera behaviour seems more intuitive to me which probably that
means Mozilla is correct ;-)

By the way aren't floated boxes supposed to have explicit widths unless they
are something like an image? It doesn't seem to make any difference to the
behaviour here but it ought to be mentioned.



Reply With Quote
  #2  
Old   
Spartanicus
 
Posts: n/a

Default Re: IE float bug? - 12-18-2003 , 06:27 PM






Graham J wrote:

Quote:
By the way aren't floated boxes supposed to have explicit widths unless they
are something like an image?
In the CSS 2.1 draft this has changed to "shrink to fit", recent
browsers have changed their behaviour in anticipation of this change.

This new method makes a lot more sense and the new browser behaviour
should not cause backward compatibility problems since a specified width
will override a derived width.

--
Spartanicus


Reply With Quote
  #3  
Old   
Anne van Kesteren
 
Posts: n/a

Default Re: IE float bug? - 12-19-2003 , 12:26 AM



Spartanicus wrote:
Quote:
Graham J wrote:


By the way aren't floated boxes supposed to have explicit widths unless they
are something like an image?


In the CSS 2.1 draft this has changed to "shrink to fit", recent
browsers have changed their behaviour in anticipation of this change.
I thought CSS2.1 was written towards browser behavior (which, sometimes,
makes more sense).


--
Anne van Kesteren
<http://www.annevankesteren.nl/>


Reply With Quote
  #4  
Old   
Rijk van Geijtenbeek
 
Posts: n/a

Default Re: IE float bug? - 12-19-2003 , 03:02 AM



On Fri, 19 Dec 2003 07:26:28 +0100, Anne van Kesteren
<mail (AT) annevankesteren (DOT) nl> wrote:
Quote:
Spartanicus wrote:
Graham J wrote:

By the way aren't floated boxes supposed to have explicit widths
unless they are something like an image?

In the CSS 2.1 draft this has changed to "shrink to fit", recent
browsers have changed their behaviour in anticipation of this change.

I thought CSS2.1 was written towards browser behavior (which, sometimes,
makes more sense).
In this case, the errata to CSS 2.0 mentions shrink-wrapping, I'm not sure
if that was before or after MSIE implemented this. Mozilla was in flux at
the time, and adapted to errata quickly. Opera 4 had implemented the rules
just like the CSS 2.0 spec said, and didn't rewrite its rendering engine
each time an errata was added to the spec. Only in Opera 7 did
shrink-wrapping of positioned and floated boxes get fully implemented.

CSS 2.1 incorporates all the errata to CSS 2.0, *and* makes further
changes to describe better what (should) happen in browsers.

--
Rijk van Geijtenbeek

The Web is a procrastination apparatus:
It can absorb as much time as is required to ensure that you
won't get any real work done. - J.Nielsen


Reply With Quote
  #5  
Old   
Spartanicus
 
Posts: n/a

Default Re: IE float bug? - 12-19-2003 , 03:08 AM



Anne van Kesteren wrote:

Quote:
In the CSS 2.1 draft this has changed to "shrink to fit", recent
browsers have changed their behaviour in anticipation of this change.

I thought CSS2.1 was written towards browser behavior (which, sometimes,
makes more sense).
I don't know who "changed" first (spec/UA), but the CSS 2.1 draft for
certain contains more than changes to bring the spec more in line with
UA implementations/behaviour such as the much needed new inline-block
property.

--
Spartanicus


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.