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

The <STYLE> tag in Netscape?

Status
Not open for further replies.

stevepuri

Programmer
Mar 30, 2001
24
0
0
US
Why does the
Code:
<STYLE>...</STYLE>
tag not work in Netscape? And what is the way around to fix this?

For example, this works in IE:

<STYLE>
<!--
A:HOVER{COLOR: #000000; BACKGROUND-COLOR: #A6CAF0;}
.clsTD
{
FONT-FAMILY: Verdana;
FONT-SIZE: 13;
COLOR: #A6CAF0;
BACKGROUND-COLOR: #E0E0E0;
}

.clsHeadTD
{
FONT-FAMILY: Verdana;
FONT-SIZE: 13;
COLOR: #FFFFFF;
BACKGROUND-COLOR: #6699CC;
}
-->
</STYLE>

Thanks,
Steve.
 
<STYLE> Tags do work in Netscape. Are you sure its not the :hover pseudo-class that isn't working? NN does not support pseudo-classes. Dean Owen
 
STYLE does work with Netscape the only problem could be with A:.... does not work with Netscape prior to version 6.
You can try writing a small javascript function and it will do the same for you. (hint: you may want to use onMouseOver)

Regards,
daLearner
`~*,*~`~*,*~`~*,*~`~*,*~`~*,*~`
In my beginning is my end...
~*,*~`~*,*~`~*,*~`~*,*~`~*,*~`​
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top