Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS in Netscape.

Status
Not open for further replies.

jas0n12

Programmer
Apr 13, 2001
5
AU

I am trying to get the following Style to work in Netscape.

I used Topstyle and it indicates that it is NS4 Friendly, but when I run it under NS4 it doesn't read it.

I am using a style sheet, and also have same style as below for Hover, Visited and Active

Any Ideas greatly appreciated.

*****************
A:LINK.mainmenu
{
color : white;
font-family : Verdana, Arial, Helvetica;
font-weight : bold;
font-size : 10px;
text-decoration : none;
}
***************
 
try changing A:LINK.mainmenu

to:

A.mainmenu

it shouldn't make a difference, but you never know with NS4... luciddream@subdimension.com
 
Where is it not working? Netscape is very sensitive to classes and inheritance. So, is it in a table? Is it in a DIV? is it just out there in HTML? Dean Owen
 
To Answer your question QuetDean.

It is in a Table. The style sheet I am using does set all all text between <td>'s to a specific font. This IS getting picked up, so I can see what you are getting at.

Is there a way I can have the A.mainmenu class override the style I have set for td's?

Thanks

Jason
 
I just tried it outside of a table and nothing but HTML.

Still not picking it up...

Any other ideas??
 
I have found that if I remove the class from the style, it works, for example, if I just have A:LINK or A:HOVER rather than A:LINK.mainmenu etc.

The problem with this is, it is a universal setting for all links. How define a class for a link that I want to be a particular style.

Regards

Jason Morris
 
Hey,

Try

A.mainmenu:link
{
color : white;
font-family : Verdana, Arial, Helvetica;
font-weight : bold;
font-size : 10px;
text-decoration : none;
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top