Netscape and CSS question

They have: 304 posts

Joined: Dec 1999

If it wasn't for Netscape, most of the questions in this forums would never have been born.

Okay, here's mine:

Using an external CSS. Defined :

<!--

A.menu:link { color:"#003300"; font-family:"verdana, arial"; font-size:14px; font-weight:"bold"}

A.menu:visited { color: "#006633"; font-family:"verdana, arial"; font-size:14px; font-weight:"bold"}

A.menu:hover { color:"#FF9966"; font-family:"verdana, arial"; font-size:14px; font-weight:"bold"}

-->


<!--

.subtitlefont { color:"#006633"; font-family:"verdana, arial"; font-size:16; font-weight:"bold"}

-->
'

Now, if I only use arial as font face, Netscape manages to recognize that the menu links fonts should be arial. It doesn't recognize the "subtitlefont" at all.

If I use it that way (font face="verdana, arial") Netscape doesn't recognize it at all.

Also, why do font colors come out differently in Netscape when you use CSS? Why does yellow (#ffffcc) come out as green?

You can see the page here:

http://www.all4content.com/newdesign/pagetemplate.html

Help!

They have: 453 posts

Joined: Jan 1999

I guess you are using NS 4.x.
Always put the font-family last.
If you don't and the font doesn't exist NS ignores the whole block.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.