Forum Moderators: not2easy
Do I have to make a special class for images, use the dotted underline only under a certain class, or is there a line that I can add to the style sheet to exclude images from the dotted underline? I know there are ways to do this, but I'm looking for the easiest way, since it's a hand-build site with thousands of pages.
a img:hover { border-bottom: none; }
This will insure that any image within an anchor will not have a bottom border on hover. Usual caveat: I don't know about the extent of browser support for this on your platform.
RJO
it looks weird because they move slightly when you mouse over them
a img{border:0;}
a:link {text-decoration:none;border-bottom:1px dotted #fff;}
a:hover{border-bottom:1px dotted #000;}/*your color*/
cEM