[thelist] Style Sheet Problem with links...

Michele Foster michele at wordpro.on.ca
Sat Nov 11 08:02:28 CST 2000


Morning everyone,

I'm trying to get a link to be a different colour (i.e. LIGHT) on a dark
background on half of my site.  All works fine in IE, the links on dark are
light, and the links on light are dark (default).

But, NS, nope, it is ignoring the class and using the default.  Can anyone
see what I've done wrong please.

Style sheet,

A,a.light:link {text-decoration: underline; font-weight: bold; color:
#FFFF99; background: #9999CC;}
A,a.light:active {text-decoration: none; font-weight: bold; color: #FFFF99;
background: #9999CC;}
A,a.light:visited {text-decoration: underline; font-weight: bold; color:
#FFFF99; background: #9999CC;}
A,a.light:hover {text-decoration: none; font-weight: bold; color: #FFFF99;
background: #9999CC;}

A,a:link {text-decoration: underline; font-weight: bold; color: #000099;
background: #FFFFFF;}
A,a:visited {text-decoration: underline; font-weight: bold; color: #9999CC;
background: #FFFFFF;}
A,a:active {text-decoration: none; font-weight: bold; color: #000099;
background: #FFFFFF;}
A,a:hover {text-decoration: none; font-weight: bold; color: #000099;
background: #FFFFFF;}

Links in text,

For the light version only works in IE (NS takes on default):

<a href="mylink.asp" class="light">My Link</a>

For the default version works in IE and NS:

<a href="mylink.asp">My Link</a>


Any ideas??

TIA,

Michele



___________________________

Michele Foster
WordPro Services
Aurora, Ontario, Canada
mailto:michele at wordpro.on.ca
http://wordpro.on.ca/






More information about the thelist mailing list