Title: Image margin
Last modified: August 18, 2016

---

# Image margin

 *  Resolved [definingdavid](https://wordpress.org/support/users/definingdavid/)
 * (@definingdavid)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/image-margin-2/)
 * I am putting up a new site [http://www.dwqonline.com](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.

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

 *  [Jeremy Clark](https://wordpress.org/support/users/jeremyclark13/)
 * (@jeremyclark13)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/image-margin-2/#post-580229)
 * 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.
 *  Thread Starter [definingdavid](https://wordpress.org/support/users/definingdavid/)
 * (@definingdavid)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/image-margin-2/#post-580329)
 * You are awesome. Thank you so much.

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

The topic ‘Image margin’ is closed to new replies.

## Tags

 * [images](https://wordpress.org/support/topic-tag/images/)

 * 2 replies
 * 2 participants
 * Last reply from: [definingdavid](https://wordpress.org/support/users/definingdavid/)
 * Last activity: [18 years, 9 months ago](https://wordpress.org/support/topic/image-margin-2/#post-580329)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
