Tuesday, 10 September 2013

class a:link styling not working

class a:link styling not working

I'm trying to style my links within a div which I've given the class
.whatnextnav. The hover styling is working but not the link, it's still
inheriting the color: #3CB6CE even thought Firebug says it's not.
Can anyone see a problem with the below?
.whatnextnav a:link, a:active, a:visited
{
color: #008566;
text-decoration: none;
}
.whatnextnav a:hover
{
color: #008566;
text-decoration: underline;
}

No comments:

Post a Comment