image links

ok bit confused about what i'm doing wrong

i'm trying to style some links on a site thus:

a:link { border-bottom: dotted 1px black !important; }

as you would expect

but the problem is that any images that are also links are taking up the style and i can't work out how to not underline the images [or style them on 'hover']

i'm guessing it's something simple that i am overlooking and i want to avoid having to specify every type of text link on the page in order to avoid the 'img' tag

Comments

Sign In or Register to comment.