user1815176
user1815176

Reputation: 90

whitespace not going away

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

Answers (3)

Musa
Musa

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

bhamlin
bhamlin

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

Boris
Boris

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

Related Questions