- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hello everyone,
I’m using this technique from a long time and always wondering how to get rid of the remaining border-bottom on the images, which are links:
example
and I don;t want this to affect the image, where I have:
any ideas ?
Not entirely certain what you need here, so forgive me if I’m wrong, but if it’s a case that you just don’t want any link decoration on an image, just put this in your CSS:
That’ll remove any borders or backgrounds placed by default by the browser to any image acting as a link. (The first line is to remove decoration from regualr links) You can still style individual images if you give them an ID…
I’m trying to remove the border style from the images, which are inside A tag
in your example you’ll remove the border from the img tag, but with a {border-bottom: 1px solid #FFF000} you actually applying the border to a A element, which is the parent element in above example
Try this
a.image {
border: 0px;
}
a.image {
border: 0px;
}
This would not work. The only way that would work is if you <a> had a class of "image". <a class="image">