...

View Full Version : change in link colour



JimboS
10-23-2002, 11:23 AM
I am using a style sheet to change all the colours of my links on mouse over.

However, I want selected links to be a different colour. If I try an apply a style attribute it changes all the link for the page.

I am sure this can easy be done - any suggestions.

Nightfire
10-23-2002, 11:40 AM
.link2{
color:#ff0000;
text-decoration: underline;
}

.link2:hover{
color:#000000;
text-decoration:none;
}

<a href="page.html" class="link2">Red to black link</a>

JimboS
10-23-2002, 12:16 PM
many thanks - works a treat



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum