Forum Moderators: not2easy
a:hover {
color: #ff2a00;
text-decoration: none;
border-bottom: 1px solid #ff2a00;
}
a.gallery:hover img {
display: inline;
margin: 15px 10px -5px 0;
padding: 2px;
background: #ff2a00;
text-decoration: none;
border: 1px solid #30291a;
}
(img tag default behavior, just for kicks)
img {
display: inline;
margin: 15px 10px -5px 0;
padding: 2px;
background: transparent;
border: 1px solid #30291a;
}
a.gallery:hover {
border: none;
}
You have a bottom border applied to your regular hovered links (through a:hover). Your next rule applies a border to the image (if inside a.gallery, which is also hovered). That does not, however, replace the default border already applied to the link.
:)