On 1/13/07, Jan Erik Moström <[EMAIL PROTECTED]> wrote: > + How common is Explorer 6, should I bother to try to fix this?
Well unless Microsoft's "push" for IE7 is going faster than I think it's probably still the majority browser out there. > + Is there some simple way of fixing this (I tried to find some > reference of how to fix it but I didn't find anything)? First you have to get rid of the comments before your DOCTYPE declaration. For IE6 (and 7) the declaration must be the very first thing in the file or it will render in "quirks" mode instead of "standards" mode. In IE that's a much bigger deal than with other browsers because in "quirks" mode it sizes screen boxes incorrectly. Next you must make sure to have valid xhtml. Use the W3C validator and squash any markup errors in your file. CSS is defined for valid code only. IE6 doesn't support min-width or min-height but "width" and "height" work just like the "min" rules are supposed to work so you can just use the "Holly Hack" to feed it a height and width rule that other browsers will ignore, or use conditional comments for the same purpose. Cheer up! It's ever so much easier to get IE looking right when Firefox also looks right than it is to go in the other direction. -- Ed Seedhouse ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/