OK, I have a page I've built to customers spec, (boss's). Utilise's min-width etc in NN and Moz. Not IE - obviously. Found JS to emulate min-width..... yet the download for the script is huge! To big. Alternatives - limited.... can only find the IE expression for CSS to emulate this! Not compatible tith any Doc type I can find..... as soon as there is a doc type, IE 6 crashes out, (big freeze!) + causes issues with NN and Moz, plus makes things a little different in IE... fonts are wrong, positioning is out etc. Fix one thing, break another! So, does anyone know how to get IE into quirks mode without breaking things in the other browsers. Really, what I need is a Doc type that is compatable with the CSS Expression for IE. Any ideas? Please?
use a doctype with no DTD reference... IE has a "quirks" mode which allows you to use expression() to use it use one of the following doctypes: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"> do not use one of these <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN"> and do not use any of the XHTML types because they turn on strict mode
I have had those browser crashes. If you get to many elements on your page it crashes IE - IE does seem to have some re-draw problems. Anyways, I found this CSS only approach to min width in IE and it works great: How to Use CSS to Solve min-width Problems in Internet Explorer http://www.webreference.com/programming/min-width/