Title: Inline Images Centered
Last modified: August 20, 2016

---

# Inline Images Centered

 *  [elic2013](https://wordpress.org/support/users/elic2013/)
 * (@elic2013)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/inline-images-centered/)
 * I would like to center all of my social icons and the ‘Email Blur Graphics’ button
   on my site ([http://www.blur-graphics.com/wordpress/](http://www.blur-graphics.com/wordpress/)),
   and keep them inline. What part of my CSS should I alter?
 * Right now the icons are all aligned left.

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/inline-images-centered/#post-3211659)
 * Try using Firefox with the Firebug add-on for this kind of CSS work.
    [http://getfirebug.com/](http://getfirebug.com/)
 *  Thread Starter [elic2013](https://wordpress.org/support/users/elic2013/)
 * (@elic2013)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/inline-images-centered/#post-3211722)
 * I have been working with inspect element for Chrome and Firebug for Firefox. 
   My problem stems from the class:
 *     ```
       .aligncenter {
       	clear: both;
       	display: block;
       	margin-left: auto;
       	margin-right: auto;
       }
       ```
   
 * When I change display to inline, however, my images all appear on the left side
   of the page. How can I center them?
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 6 months ago](https://wordpress.org/support/topic/inline-images-centered/#post-3211723)
 * Consider [this tutorial](http://www.w3.org/Style/Examples/007/center.en.html)
   for centring elements.
 * You’re being referred elsewhere because CSS queries this specific are not within
   the scope of support provided by WordPress.org’s forums.
 * _Here’s a CSS-specific forum: [CSS Creator](http://csscreator.com/forum)_.
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/inline-images-centered/#post-3211724)
 * If you are trying to center that whole section, try using a div rather than p
   and put the .aligncenter class on the div. Or put a left margin on that paragraph
   that contains the images.

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

The topic ‘Inline Images Centered’ is closed to new replies.

## Tags

 * [align](https://wordpress.org/support/topic-tag/align/)
 * [center](https://wordpress.org/support/topic-tag/center/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [icons](https://wordpress.org/support/topic-tag/icons/)
 * [margin](https://wordpress.org/support/topic-tag/margin/)

 * 4 replies
 * 4 participants
 * Last reply from: [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/inline-images-centered/#post-3211724)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
