Click to See Complete Forum and Search --> : Help with Link Formatting Please


ruthand99
11-21-2009, 04:18 PM
Hi all,

I am using a global page call for link formatting (HEAD tag):

A:hover {color:"#cc6600"; text-decoration:none; font-weight:bold}


Now, what i want to know is:

How can I, in an individual link, override this?
With the OnMouseOver on the anchor tag of that link?
If so, what would the OnMouseOver command exactly be?


Thanks in Advance ;)

Zaq777
11-22-2009, 06:22 PM
I wouldn't use onmouseover. I would set a class to the link and whatever that class is i.e. link type the following to change only that link.


.link A:link, A:visited, A:active, A:hover{
text-decoration:none
color:whatever;
}


Or you can change each one individually by typing


.link A:link{
text-decoration:underline;
color:whatever;
}
.link A:visited{
text-decoration:none;
color:whatever;
}
.link A:active{
text-decoration:underline;
color:whatever;
}
.link A:hover{
text-decoration:underline;
color:whatever;
}


Good luck hope this helped :D