rsd
03-07-2005, 02:00 PM
When placing an image inside an <a> tag, how do I remove the underline from the image, but not the anchor text?
This code works in NS and IE but FF underlines the image...
<a href="mypage.html">
<img src="myimage.jpg" width="100" height="100" alt="myimage"><br>
My Link</a></td>
img {border:0; text-decoration:none;}
doesn't seem to work.
This code works in NS and IE but FF underlines the image...
<a href="mypage.html">
<img src="myimage.jpg" width="100" height="100" alt="myimage"><br>
My Link</a></td>
img {border:0; text-decoration:none;}
doesn't seem to work.