Viewing 5 replies - 1 through 5 (of 5 total)
  • add

    img {
    border: none;
    }

    to your style.css file

    I have the mysterious blue borders, too – only on images in posts, and regardless of if they’re linked to anything or not. They’re ugly and driving me nuts.

    I’ve tried borders of 0, none, and 0px in the css file everywhere I can find. I’ve tried manually putting it in the code for the image. I’ve tried viewing the site in Firefox and Safari. I’ve tried three different themes, including the default. I’ve tried an upgrade to 2.3.3. It’s still there.

    Heeeeeeeelp.

    (link)

    UPDATE: If I apply a class to the image (I tried class=”centered”), the blue border disappears. But I don’t want to go back and do that manually to every image I have in a post. There must be something else I can do?

    Change the post template, that’s the idea of the dynamic content, if you change the stylesheet and the template you won’t have to do it on a post by post basis.

    Cheers,
    Steve

    Since I mentioned having tried to change the stylesheet already, I thought it was reasonably clear I’m not utterly clueless that doing so will affect more than one post.

    But, not being a coding expert either, I’ll bite: How exactly does one make the program not do weird crap to an image that’s without a class? Or make it somehow know which class is right for an image that’s currently without one and drop it in for me so that I don’t have to go back and do it myself about 200 times?

    (And before we assume I’m stupid again, I know the visual editor provides image placement and styling. It also crams the text right up against a floating image, which looks hideous; I use the plain-text editor for that among other reasons.)

    Well, that took care of it. The blue box problem seems to be caused by lack of classes on the images. Just define a class like “plain” in your stylesheet and use that if you don’t want to use left, right, or centered for a particular image.

    That of course doesn’t solve the problem of correcting past posts, but it is a fix, even if you have to go back and make it by hand like I did.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Blue box around images’ is closed to new replies.