Remove borders for specific images
-
Hi,
I’m using Skeleton Theme for my website:
http://hihi1d.com
http://hihi1d.com/guide_for_bkguide/With this theme, there’s no border shown around images. Since I want borders around images most of the time, I added the code below to style.css.
img { margin: 5px; padding: 10px; border: solid #dddddd 2px;}It’s working fine. Though now I have some images which I DON’T want to show the borders around them. I tried to do this by adding another code like below and it’s now working.
-Additional code for style.css
.post img.border-none { border: none; padding: 0; }-HTML for posts
<img class="border-none">Could anyone tell me how to remove borders from specific images while keep showing borders for all other images? Thanks in advance!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
The topic ‘Remove borders for specific images’ is closed to new replies.