extasykissed
02-17-2004, 05:56 AM
Is there a way to have to different colored links?
I want the body links to be one color and the links inside tables another. Is this possible?
salomeyasobko
02-17-2004, 06:09 AM
this should work:
A:link { color: #XXXXXX }
A:visited { color: #XXXXXX }
A:active { color: #XXXXXX }
A:hover { color: #XXXXXX }
td A:link { color: #XXXXXX }
td A:visited { color: #XXXXXX }
td A:active { color: #XXXXXX }
td A:hover { color: #XXXXXX }
Rosey
02-17-2004, 06:10 AM
yes just use a class like:
a.table1:link { atrributes... }
a.table1: visited { atrributes... }
a.table1:hover { atrributes... }
and then on your links you can do <a href="whatever.htm" class="table1">blah blah</a>
extasykissed
02-17-2004, 06:18 AM
thank you very much, I tried the first one and that worked so I haven't done the second but thank you!
Blackpearlfox
05-12-2005, 05:03 AM
Hey,
I'm interested in having different colored links all in one page, but I'm so awful when it comes to css so I never really know how to do it or if I've even done it properly.
Could you explain how to do it for a newbie? *flickers eyelashes*
Like should this be in a internal or external stylesheet? How would I lay it out? <i>(I'll also be including colored scrollbar code into the style sheet if that helps, so could you also include that if you write an example)</i>
Merci! Thank you! Gracias!