Forum Moderators: open
Your best bet is to use an appropriate doctype and author to standards compliant mode, checking your HTML and CSS with the validators to ensure correctness.
Try this article for starters:
[alistapart.com...]
I'm using XHTML 1.0 Transitional and I believe if IE6 doesn't see the DTD, it goes into Quirks Mode (HTML 4). It can ruin a perfectly good layout!
It would be nice if it were as you seem to suggest that quirks mode is a HTML 4.01 compliant mode. It is not. It´s just Microsoft´s own idea of how to interpret and display some code that resembles HTML to a certain extent.
But I´m with you on that you should use a valid DTD and author your code in a standard compliant way. There is no need to use XHTML. If all you need is HTML2 go with that but choose the appropriate DTD.
Andreas
[edited by: andreasfriedrich at 3:09 pm (utc) on Feb. 27, 2003]