Helpful Information
 
 
Category: CSS Help
CSS in IE, NS6 good, NS 4 bad

Alright, I have a simple CSS file that I'm working on. Perhaps someone can take a look at it and teach me if I've done something wrong. I must admit I just started using CSS after all this time.

Everything looks fine in IE, and NS 6, but NS 4 shows the default fonts. Below is what I used in my external CSS file.

Thanks for your assistance.







.pnistyles {
font-family: Verdana;
font-size: 15 px;
}

A:link {
color: Blue;
text-decoration : underline;
}
A:active {
color: Black;
}
A:visited {
color: Blue;
}
A:hover {
color: Green;
text-decoration: overline;
}




.linkstyles {
font-family: Verdana;
font-size: 15 px;
}

A:link {
color: Blue;
text-decoration : underline;
}
A:active {
color: Black;
}
A:visited {
color: Blue;
}
A:hover {
color: Green;
text-decoration: none;
}





.topsylestyles {
font-family: Verdana;
font-size: 20 px;
}

Same problem here. Page looks wonderful in MSIE 5.01 but in Netscape 4.75, it's a royal mess.

Cant figure it out.

http://www.greenthing.net/svg/index.html if you want to look at it.

Best wishes.

beats me -- hope some guru can take a look and help us out!

Now that's an easy one, Netscape versions prior to version 6 don't support the hover attribute. That's why you don't see the rollovers on your links.

You could emulate them with JavaScript, but it would probably be overkill...

Best regards,

Wim

Yes, NN4 really screws up the CSS. I find it best to avoid the body declaration in my NN4 stylesheets, and instead declare the indiviual body parts:

b, i, td, etc.... {
font-face: IHateNavigator
}

Dotan Cohen
-----------------------------------------------
MySQL php4
50 megs $9.99 http://TerribleHost.com
-----------------------------------------------










privacy (GDPR)