Home Account Search

Apply css class to linkbutton asp.net

Asp.net does not recognize LinkButton as <A> tag.

set the cssclass property for the linkbutton (i.e: cssclass="linkbutton5") then in your css just add the following:

.linkbutton { text-decoration:none;}

.linkbutton:hover {text-decoration:underline;}

That's it!

Comments are locked for this post.