WordPress.org

Support

Support » Themes and Templates » center image in posts

center image in posts

  • I use the Subtle theme, and I have added this declaration to the css for centering images:

    img.centered {
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    	}

    This works properly in Firefox, and in IE6. It doesn’t work, however, in IE7. The image gets aligned to the left.

    Would anybody know how to solve this?

    Many thanks!

    Matthijs

  • The topic ‘center image in posts’ is closed to new replies.
Skip to toolbar