0

How can I make that when i pass the mouse over a ASPNET linkbutton it doesen't turn into a font bold?

enter image description here

a:hover{something here}

does not work

anmarti
  • 5,045
  • 10
  • 55
  • 96

1 Answers1

1

what you can do is to add or remove attribute from the link button like

$('#linkbutton-id"').mouseover(function() { $('this').attr("font-weight","weight:bold")

});

$('#linkbutton-id"').mouseover(function() { $('this').removeAttr("font-weight")

});

you can use addClass or removeClass function of Jquery also, they provide you feature to add css class over element for any effect

Buzz
  • 6,030
  • 4
  • 33
  • 47