Luzee12
02-29-2004, 05:47 PM
I have a style sheet for my page that turns all the links purple normally, blue on hover, and line-through after they are clicked. However, at the bottom of the page are 2 teeny text links that I would like to have yellow, (with the line-through part) and I don't know how to override my style sheet. Can somebody help me?
you can use a class combined with a link...
in your style area...
a.special {whatever styles;}
a.special:link {whatever styles;}
a.special:hover {whatever styles;}
(you get the picture right?)
then down in the links you want to change, just add the class to them...
<a href="otherpage.html" class="special"> text here </a>
or if they are all in a DIV area and you want to just apply a style to that in one fell swoop, try this as the style part...
.special a {styles here;}
.special a:link {styles here;}
and so on...
then down in your DIV tag surrounding the special links, add the class to it...
<div class="special">
specific links in here will be affected
</div>
Luzee12
02-29-2004, 08:36 PM
Oh, thanks very much! That's exactly what I wanted to know. And it works, too! :party: Let me know if I can ever return the favor someday . . .
~ Luzee12
no problem.
glad it worked for ya.