views:

22

answers:

1

Hi, I'm using an asp:LinkButton. The text underlines upon hovering over it. However I want it to always have an underline. Can anyone tell me how to achieve this?

Thanks!

+3  A: 

Try setting LinkButton.CssClass to "underlinedLinkButton", then add this to your CSS file.

.underlinedLinkButton { text-decoration:underline; }

John Hann
i'd make the selector `a.underlined` (just to be safe)
RPM1984