I'm assuming you css code for the links looks something like this:
Code:
a {
color:blue;
}
a:hover {
color:green;
}
a:visited {
color:red;
}
//etc...
What you need to do is give the link you want do be different an id value (or class value in case you have more than one, id values should only be given to one element per page). E.g.
HTML Code:
<a href="http://www.example.com/" id="anything">I'm special</a>
Then just add this to the css code:
Code:
#anything {
color:pink;
}
#anything:hover {
color:orange;
}
#anything:visited {
color:yellow;
}
Of course you style it the way you want and give it what id value you want.
If you have more than one link that you want to be different, use class values:
HTML Code:
<a href="http://www.example.com/" class="somethingelse">We're special</a>
<a href="http://www.example.com/" class="somethingelse">We're special</a>
<a href="http://www.example.com/" class="somethingelse">We're special</a>
The css code would be almost the same except that class values have a dot in front of them instead of the number sign that the id values had:
Code:
.somethingelse {
color:pink;
}
.somethingelse:hover {
color:orange;
}
.somethingelse:visited {
color:yellow;
}
Bookmarks