View Full Version : different colored links


buBbLebOo
04-25-2005, 01:01 PM
what code do i use if i want some links to have a different color than the regular ones? :ateddy:

pb&j
04-25-2005, 01:27 PM
you would use some css coding.

<style type="style/css">
.testing a:link {color:#c0c0c0;}
.testing a:visited {color:#c0c0c0;}
.testing a:active {color:#c0c0c0;}
</style>

adjust color codes as you desire.
then around the link you want to affect...

<div class="testing">
links in this space will be affected.
</div>

there are different ways of doing that too, if that particular method isnt right for your layout. perhaps search in the css forum for further answers too.

buBbLebOo
04-25-2005, 01:41 PM
that'll do. thanks! :lilangel:
simple thread.. nice and short ;)