WordPress.org

Forums

[resolved] Image margin (3 posts)

  1. definingdavid
    Member
    Posted 7 years ago #

    I am putting up a new site http://www.dwqonline.com and my images do not have a margin around them. I tried working on my CSS but I just can't get it to work. Any ideas on how to give me a margin around my pictures so they don't back up right up to the words.

  2. Jeremy Clark
    Moderator
    Posted 7 years ago #

    Add this to your style sheet

    img {
    margin:0px 5px;
    }

    This puts a margin of 0px to the top and bottom of an image and a margin of 5px to both sides of an image.

  3. definingdavid
    Member
    Posted 7 years ago #

    You are awesome. Thank you so much.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags