View Full Version : How can I "turn off" styles for Netscape 4.0 so it will only see html?

08-09-2007, 10:13 PM
My page looks horrible in early Netscape (4.0-4.79)and that is what a significant percentage of our patrons use.
How can I just show the html and no styles in that particular browser?
Or what do I need to do to make the page legible?
Thank you
Link to project page:

08-10-2007, 01:31 AM
I loaded an old version of Netscape (4.08) from an old music CD that I had. You can disable style sheets by going to the “Edit” menu, “Preferences” command, choosing “Advanced” in the “Category” tree, and unchecking the “Enable style sheets” box. If you’re looking for CSS exploits, see http://centricle.com/ref/css/filters/.

It seems kind of weird that someone would be using Netscape 4 in 2007 though. According to the browser, it’s from 1998. The current version of Netscape is 9 (second beta).

08-10-2007, 02:47 AM
Two ways to hide stylesheets from Netscape 4.

1. Use the @import method of attaching the stylesheet instead of <link>

2. Surround the stylesheet entries to be hidden within


/* */

Netscape 4 treats that as one comment.

08-10-2007, 03:00 AM
Like Arbitrator said, I don't think many are using Netscape 4 in 2007, so why not just leave it?

If I recall correctly, NS 4 will not import a stylesheet if you use the @import rule between style tags:

<style type="text/css">
@import url("style.css");

08-21-2007, 11:46 PM
Thank you so much for your solutions!