simple html and css.
code:
<div class="link_my"> <a href="a.php">my link</a></div>
css:
.link_my a:hover{
font-weight:bold;
text-decoration:underline;
}
on mouse hover, the text font becomes bold along with the ubderline. But I want the underline to be normal (not bold).
How to do that ?
This will work for you Istiaque. JS FIDDLE LINK : http://jsfiddle.net/39TtM/
HTML:
<a href="#" class="link">
<span>
my link
</span>
</a>
CSS:
.link span{
color:blue;
font-size:30px;
}
.link:hover span{
font-weight:bold;
}
.link:hover{
text-decoration:underline;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With