[Javascript] browser sniffer for css redirect

Margo margomat at earthlink.net
Mon Mar 11 11:16:36 CST 2002


> Is there a reason you don't want to use the combination of link tag for IE
> styles and the @import directive for Netscape styles?

Woops, I got it backwards -- link tag for Netscape 4.x., @import for
everybody else. I was asking in case there was something I was missing. Your
post makes me aware that I've been ignoring older Opera versions (pre CSS2).
Mostly I've been trying to be careful with my HTML tags so the pages
"degrade gracefully" for those people cruising in NN 4.x without JavaScript
turned on (CSS doesn't work in NN 4.x without JavaScript).

If you've got Eric Meyer's CSS: The Definitive Guide, he's got some good
tricks in there  -- like full content backgrounds for NN 4.x,  and a little
JavaScript that cures a Netscape bug associated with frames (which I've
encountered).

Margo







More information about the Javascript mailing list