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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS and Netscape 4

Status
Not open for further replies.

JazzLeg

Programmer
Aug 22, 2002
63
GB
Hi,
I know there have been a few postings about this but i just wanted to show someone the style sheet i'm using, so, perhaps they can tell me why it fails to work in Netscape 4.7. (works perfectly in IE 5.0).

Code:
.topbar_text {font-family:"arial"; font-size:13pt; font-weight:bold; color:#336666} 
.normal_text {font-family:"arial"; font-weight:bold; font-size:12pt}
.top_link {font-family:"arial"; font-size:8pt; color:black; text-decoration:none}
A:link {font-family:"arial"; font-size:8pt; color:black; text-decoration:none}
A:hover {font-family:"arial"; font-size:8pt; color:#336666; background-color:#99cc00; text-decoration:underline}
A:visited {font-family:"arial"; font-size:8pt; colour:black}

I'm thinking that netscape does'nt like the '.style' type definition (e.g .top_link {..)

Thanks
 
At a first glance:
N4 doesn't support a:hover.

did you try the declarations in the curly brakcets? {}insted of ()?
 
Should this work as part of an external style sheet in Netscape 4.7?

Code:
.topbar_text {font-family:"arial"; font-size:13pt; font-weight:bold; color:#336666}
 
Yes, that will work... I have not failed; I merely found 100,000 different ways of not succeding...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top