View Full Version : ie6 box model fixed?

07-14-2008, 10:52 AM
I can not now find any online reference to this, but I am quite sure that I recently read in Net magazine that in later versions of IE6, they fixed the box model. Was this a typing mistake or is it true? Right now I have a seperate stylesheet for ie6 with fixs such as -3px on floats. If it was true and someone with a later version of ie6 visited the site, they would be parsed the ie6 bug fix stylesheet and obviously it would look all wrong if the bugs were fixed, there would be now desctuctive hacks and negative margins etc. Can anyone enlighten me on this now? Do I now need to have seperate stylesheets for every browser version? one for ie6.001, one for ie6.002. I can see myself ending up with hundreds of extra stylesheets if people are fixing bugs through each version update? Is this something I should be worried about?

07-14-2008, 03:04 PM
The 3px jog was never fixed, AFAIK, but on IE6 the box model was "fixed" IF you used a strict doctype and no XML prolog (for XHTML) — in other words, if you code IE6 to Standards mode and not Quirks mode it renders the box model the W3C way.

I wouldn't worry about having separate stylesheets for different flavors of IE6, but I tend to use a separate stylesheet for every version of IE (6, 7, etc.). IE6 is more or less on the way out, anyhow, so soon enough you can forget about it altogether.