Help with psudo classes in CSS

Posted by Anil Namde on Stack Overflow See other posts from Stack Overflow or by Anil Namde
Published on 2010-06-03T16:39:15Z Indexed on 2010/06/03 16:44 UTC
Read the original article Hit count: 248

Filed under:
<a class="success" href="javascript:void(0)"></a>

//CSS for setting background for above link
a.success:hover{
//set background image
}

What my intent is to change the class of link on server side based on success/fail and set icon for the link accordingly. But above CSS is not working as expected.

Can someone plz help with this.

© Stack Overflow or respective owner

Related posts about css