Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: not2easy
Here's a neat trick from the O'Reilly CSS book:
First, create the stylesheet that you want Netscape 4 to use and write the standard <link> tag into the HEAD section of the HTML to bring it in. Then create the stylesheet that you want all the more compliant browsers to use (like Netscape 6, MSIE, Opera).
Bring this stylesheet in AFTER the first one, and use the @import method — either @import "stylesheet2.css" or @import url("stylesheet2.css") - NOT another <link> tag.
The more compliant browsers will get the second set of styles, since the cascade will "overwrite" the first, linked stylesheet. Because Netscape 4.x doesn't support @import, it gets only the first set of rules. So, @import works like a browser sniffer that zeros in on the buggiest browsers!