Reputation: 344
Does anyone know how to remove this line from images which is showing up in IE
I have removed the images borders and text-decoration from the links using css
body img {
border:none;
}
a img {
text-decoration:none;
}
I can't figure out what else could be causing it.
It's not an underscore it is linking to the facebook page.
Upvotes: 2
Views: 518
Reputation: 5241
The decoration appears between the images and is therefore not selected by a img
. Try this:
a { text-decoration:none; }
As stated by Mr. Alien you should consider to wrap this section somehow, so you can use a more specific selector, e.g.:
.share-buttons a { text-decoration:none; }
Upvotes: 6
Reputation: 58462
looks like a space between your images, the underline will be on the anchor
try adding
a, a:hover { text-decoration:none; }
Upvotes: 1