Hi, I want my text hyperlinks to have a dotted border underneath, so I did
this which works fine:
a,
a:link,
a:visited,
a:hover,
a:active {
color: #000;
text-decoration: none;
border-bottom: 1px dotted #000;
}
But I don't want a border under images which are hyperlinks.
I tried this but it doesn't work:
img {
border: 0;
}
I've also tried:
a img,
a:link img,
a:visited img,
a:hover img,
a:active img {
border: 0;
}
Is there anyway of having a border on text hyperlinks but not image
hyperlinks? I don't want to use classes if I can avoid it.