IMG Border problems
-
http://www.thegers.info is my blog, I have set my CSS to
img {
border:1px solid black;
}How would I go about editing this so that only content within the posts get the border, as it adds a border to ALL images on the site, is there a div class or something I can put in there so it only adds img code to the posts?
I’m using the Contempt them and I am on WP.com with a CSS upgrade.
The blog I need help with is: (visible only to logged in users)
-
(i.e. the No Comments » | Fixtures, Rangers | Tagged: 8 2 08, Forfar Athletic, Rangers bits all have borders when they shouldn’t.)
-
Modify your added CSS so that it specifies img enclosed within the CSS class used for an entry (which, amazingly, is the class named “entry”):
.entry img {
border:1px solid black;
}And if you’re fiddling with CSS, you might get some use from:
-
- The topic ‘IMG Border problems’ is closed to new replies.