Discussion Locked

DOCTYPE declarations and Netscape 6.2.3

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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.)

1 reply

by ben ramsey

Just a note: please ignore the semicolon in the code I placed above. I do not know how it got there, and I do not have that semicolon currently in my "live" code. So don't tell me that's my problem! ;)

This discussion is closed to new replies.