I have this in an external style sheet:
a:link { color: #33F; background-color: transparent; }
a:visited { color: #939; background-color: transparent; }
a:hover { color: #33F; background-color: transparent; }
a:active { color: #939; background-color: transparent; }
.lnk, .fsize { font-size: 11px; color: #666; background-color: transparent; text-decoration: none; }
and this in html:
<a href="http://www.aad.gov.au/asset/webcams/mawson/default.asp" target="_blank">The Mawson Station web cam<br><span class="lnk">http://www.aad.gov.au/asset/webcams/mawson/default.asp</span></a>
It works perfectly in IE where everything in the 'link' span has no text decoration, however, in Netscape it's all underlined. Any ideas?
span in a link - in netscape
Hi pkeaee,
First thing I would try is setting the text-decoration to important.
.lnk, .fsize { font-size: 11px; color: #666; background-color: transparent; text-decoration: none !important; }
Hope that helps