Is is just me, or has anyone else noticed the quirky things Netscape 6 does when you use a DOCTYPE declaration?
For example, I’m trying to use a DOCTYPE declaration to adhere to the standards in defining my document as XHTML. Here’s the code I use:
The problem is that Netscape6 will not correctly use my stylesheet, and it inserts space at will between DIV layers I have (which is how I’m laying-out the page).
When I remove the declaration and just use the normal header, then Netscape 6 displays everything as I intend. So, the question is: why am I trying to use something that doesn’t work? The answer is that I want to adhere to the standards and create a “well-formed” XHTML document.
Has anyone else seen this problem? And how did you overcome it? (Donot just tell me that you chose not to use the declaration.)