Need help? Check out our Support site, then


IMG Border problems

  1. 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 thegers.info.

  2. (i.e. the No Comments » | Fixtures, Rangers | Tagged: 8 2 08, Forfar Athletic, Rangers bits all have borders when they shouldn't.)

  3. 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:
    http://grahamwideman.wordpress.com/2009/01/23/firebug-essential-for-cssing-wordpress/

  4. Thanks mate, awesome.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags