Is this a valid css?

Posted by Pandiya Chendur on Stack Overflow See other posts from Stack Overflow or by Pandiya Chendur
Published on 2010-04-13T05:47:46Z Indexed on 2010/04/13 5:52 UTC
Read the original article Hit count: 316

Filed under:
|

I have a pager in my page with anchors in it... I use the following css...

.page-numbers a {
color:#808185; cursor:pointer; text-decoration:none;outline:none;
}
.page-numbers a:hover {
text-decoration:underline;
}
.page-numbers a:visited {
color:#808185;outline:none;
}

But my anchor tag doesn't seem to take the css above instead it uses the css below,

a {
color:#0077CC; cursor:pointer; text-decoration:none;outline:none;
}
a:hover {
text-decoration:underline;
}
a:visited {
color:#4A6B82;outline:none;
}

Which i have given in the top of my stylesheet... Any suggestion...

© Stack Overflow or respective owner

Related posts about css

Related posts about anchor-tag