• Resolved markwilliamsjr

    (@markwilliamsjr)


    I have been having the most difficult time trying to figure out how to get rid of image borders within posts. I have tried just putting “border=0” in the HTML code, I made sure the border option in advanced image settings was set to 0, and they are not linked images.

    So the only thing that I think it may be would be coding within the style sheet. However, I cannot find anything to indicate this. If anyone would be so kind as to give my theme’s style sheet a look…I would greatly appreciate the help.

    http://www.drawnthatway.com

    (excuse the mess…we are just getting underway)

Viewing 5 replies - 16 through 20 (of 20 total)
  • in your style.css:

    .post_image img {
    padding:3px;
    background-color:#fff;
    border:1px solid #cccccc;
    }

    that is for the large image at the top:
    the ‘padding:3px’ together with the ‘background-color:#fff;’ generates the white border, and then the ‘border’ does the dark grey one –
    so, if you don’t want any border, set ‘padding: 0px;’ and ‘border:none;’

    the smaller images in the articles are styled with (style.css):

    .the_content img {
    background:white;
    border:1px solid #000;
    padding:3px;
    }

    – same as above

    Thread Starter markwilliamsjr

    (@markwilliamsjr)

    alchymyth, you are the best! Thank you so much. That worked great.

    And I appreciate everyone’s willingness to assist me.

    I’m having a similar problem.

    Despite following all advice on this thread, I have been unable to remove the border on this page’s image.

    http://www.mobileninja.biz/?page_id=18

    What am I doing wrong?

    u should not aks second time dude u might get moderated
    these questions are forbiden here :”)

    ….

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Cannot Remove Border Around Images Within Posts’ is closed to new replies.