Title: Image Positioning CSS
Last modified: August 20, 2016

---

# Image Positioning CSS

 *  Resolved [thatjohnpaul](https://wordpress.org/support/users/thatjohnpaul/)
 * (@thatjohnpaul)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/image-positioning-css/)
 * Hi there,
 * Not sure if this is the right place, but if anyone is willing to help out, I’d
   really appreciate it. I’m testing out a site [here](http://testing.livelikekings.net)
   and I can’t seem to find why every blog post divider (the image that comes after
   each post) is centered and positioned correctly except the one [here](http://www.testing.livelikekings.net/?p=174).
 * Thanks!

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

 *  [daviddevor](https://wordpress.org/support/users/daviddevor/)
 * (@daviddevor)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/image-positioning-css/#post-3423392)
 * Categories: another category, Uncategorized
 * Is shifting it over.
 * Instead of using:
 *     ```
       <center>
       <img style="margin: 125px 55px 0 0;" src="http://www.testing.livelikekings.net/wp-content/uploads/2013/01/footer-deco.png">
       </center>
       ```
   
 * do something like this:
 *     ```
       <div style="clear:both; text-align:center;>
       <img style="margin: 100px auto 0;" src="http://www.testing.livelikekings.net/wp-content/uploads/2013/01/footer-deco.png">
       </div>
       ```
   
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/image-positioning-css/#post-3423394)
 * Yes, to the above, except that it’s much preferred to avoid using inline CSS 
   at all. So you could put a specific class in for the image and then put the CSS
   in the external CSS file.
 * But for sure, don’t use `<center>` tags as they are deprecated and are unsupported
   in HTML5
 *  [daviddevor](https://wordpress.org/support/users/daviddevor/)
 * (@daviddevor)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/image-positioning-css/#post-3423398)
 * yeah i should have hinted at the class, just didnt feel like all the typing. 
   never use inline styles.
 *  Thread Starter [thatjohnpaul](https://wordpress.org/support/users/thatjohnpaul/)
 * (@thatjohnpaul)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/image-positioning-css/#post-3423408)
 * Fixed! Thank you both so much, I really appreciate it! Cheers.

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

The topic ‘Image Positioning CSS’ is closed to new replies.

## Tags

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

 * 4 replies
 * 3 participants
 * Last reply from: [thatjohnpaul](https://wordpress.org/support/users/thatjohnpaul/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/image-positioning-css/#post-3423408)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
