• Hi,

    I’m making a new blog at http://weightlosshd.com and as you can see, i added a image next to my article, but that image doesn’t look right because it doesn’t have a border. How can i make my theme put a border on every image i use?

Viewing 2 replies - 1 through 2 (of 2 total)
  • To get started, add something like this to your theme’s style sheet:

    #content img {
    border: 1px solid black;
    }

    You might want to play with margin or padding too.

    I suspect that when you say border you actually mean margin. A border is a line drawn round something (like a picture) where a margin is a space around the outside something (like a picture).

    So if it’s space you’re after then try putting something like this in your style.css file:

    #content img {
    margin: 10px 15px 10px 0;
    }

    The figures specify the space on the top, right, bottom, and left, in that order. You can play around with them to get what you want.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Help With Image’ is closed to new replies.