Reputation: 90
I don't know how to get rid of random lines behind my pictures. My website is http://spencedesign.netau.net/singapore-gallery.html and you can see that there are little lines behind the images, and I can't see what is causing them.
Upvotes: 0
Views: 46
Reputation: 97717
Those are whitespaces, they are underlined because they are in an <a>
tag, you can remove the whitespace or remove text-decoration from your <a>
Upvotes: 1
Reputation: 5197
Your links, because they have more than just one <img>
tag, are being underlined. Just add
a.thumbnail {
text-decoration:none;
}
to your css.
Upvotes: 1
Reputation: 802
Your problem comes from here:
a:-webkit-any-link {
color: -webkit-link;
text-decoration: underline; // this line is the problem
cursor: auto;
}
Try to do something like:
.gallerycontainer a {
text-decoration: none;
}
This should fix your problem.
Upvotes: 1