gokou
09-13-2003, 10:33 AM
I've been trying to change text size in a css layer with javascript because in netscape, text is bigger then in ie, so I'm trying to make the text the same size on both browsers.
I have a css layer defined as class="window2". I was writing javascript code like this:
if(navigator.appName == "Netscape") {
document.window2.fontSize="10px";
}
I've gotten errors with everything I tryed.
I have a css layer defined as class="window2". I was writing javascript code like this:
if(navigator.appName == "Netscape") {
document.window2.fontSize="10px";
}
I've gotten errors with everything I tryed.