Forum Moderators: open

Message Too Old, No Replies

Safe DTD

I heard there may be a Netscape 6 issue

         

D_Blackwell

8:13 pm on Aug 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have validated a slew of pages for a site that I'm working on and uploaded the validated pages.

I have since been warned that my 'correct' pages with my 'correct' DTD might need to be tweaked to avoid a NN6 bug.

Now found on each page is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

I've been advised to switch to:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
in order to avoid a problem.

Wandering around in the Webmaster World 'site search' suggests this to be true, but I'd feel better if directly told one way or another.

pageoneresults

8:25 pm on Aug 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Can you describe the NN6 bug that would cause you to avoid using a full DTD?

I too at one point followed that advice because of some bugs. With continued education, I learned that it was not the DTD causing the problem but my implementation of CSS.

If you use a DOCTYPE without the DTD reference, you are forcing the browser into Quirks mode. If you are going to do that, then there really is no reason for the DOCTYPE to be there other than to obtain the validation stamp. Your site will be rendered in quirks mode at the browser level instead of strict mode which you've painstakenly taken the steps to adhere to.

D_Blackwell

3:12 am on Aug 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't specifically know that I do have a problem. I'm just afraid of introducing one. (Don't fix what isn't broken. It's not my site, so it does matter.) I have NN 7 but no access to see it in NN6. (An obvious problem in itself at the moment.)

My friend knows much more and has far greater experience than I do, and insists I'm taking a risk. But as you suggest, I would much prefer to take advantage of all the work that has been put into it.

Perhaps a better question would be: How can I get NN6 and 'quarantine' it somewhere for reference work? I have IE6 NN7 and Opera 7 and they don't interfere with each other. As a group, they have been invaluable.

My concern is with introducing trouble that I can't see and fix first.

pageoneresults

3:32 am on Aug 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You can run multiple versions of NN on the same system, unlike IE. Here is the NN archive link for all previous versions...

Netscape Archived Browser Products [wp.netscape.com]

jdMorgan

3:36 am on Aug 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



D_Blackwell,

Because of the way that Netscape installs, you can put it in its own subdirectory and run it along with other versions. I've found it best to declare separate Netscape user "profiles" for each browser to keep them from confusing each other, but other than that, it works fine.

Netscape browser archive: [wp.netscape.com...]

Jim

D_Blackwell

4:06 pm on Aug 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Before I pull the trigger can you clarify? I went to download NN 6.1 and it offers the download for Windows 95, 98 and NT. Can I assume that XP will correctly accept it as its own?

D_Blackwell

4:57 pm on Aug 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is it safe for me to add AOL to my line-up? I've gotten the occasional comment that there are some minor issues on it and wouldn't mind incorporating it into my testing. I don't see why it would be a problem to do so, but am always concerned about downloading trouble or getting into compatibility difficulty.