WordPress.org

Ready to get started?Download WordPress

Forums

center image in posts (1 post)

  1. Matthijsnl
    Member
    Posted 7 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic