I found this in a forum. Hope this will help
Css should be like this:
a.SelectedItem:link,
a.SelectedItem:visited {
color:#ffffff;
}
a.SelectedItem:hover {
color:#999999;
}
a.SelectedItem:active {
color:#ffffff;
}
And in your ASPX your link button should be like this:
<asp:LinkButton CssClass ="SelectedItem" .... runat="server">Click Me!</LinkButton>
Please note if you just use
a:link, a:visited, a:hover, a:active
, the styles will be applied to all links in the page automatically.