Forum Moderators: open
then have a JS call one or the other This way I can controll both
if (navigator.appName == "Netscape" && navigator.appVersion.charAt(0) == ("4" ¦¦ "3")) {
document.write("<link rel='stylesheet' type='text/css' href='style_ns.css'>")
document.close()
} else {
document.write("<link rel='stylesheet' type='text/css' href='style_ie.css'>")
document.close()
}
I have not seen it's affect on 6.+ though (I refuse to install it)
You could download Opera, and create a third sheet called 'style_dom.css'... since both Opera and Netscape 6 are supposed to support the W3C's DOM standards, if it tests out OK in Opera, it *should* be OK in NN6.
For Netscape, in my little CSS positioning experiemtn, everything looked great in IE, but my text area div overlaps the left-hand navigation bar... If you can run your navigation bar horizontally above and below your 'content' area, CSS should work fine on Netscape.
lucky, I don't care for agent sniffing. As an alternative browser user, I continue to suffer the wrath of agent sniffing on a daily basis. I wouldn't put a user through what that can put them through. This is the main reason I am trying to figure out what to do here, because I don't want to add to that whole mess.
I've thought about using the W3C core style sheets. Examples:
[w3.org]
If you get any appreciable number of IE3 users, you might want to install IE3 on a spare machine and check the site with it. Reputedly, IE3 is to colors, fonts, etc. what NN4 is to CSS positioning (well, OK, maybe not quite that bad). Personally, I'm guilty of just ignoring IE3.