Support » Themes and Templates » Inline Images Centered

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


    Forum Moderator

    Try using Firefox with the Firebug add-on for this kind of CSS work.

    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?

    Moderator Andrew Nevins


    Consider this tutorial for centring elements.

    You’re being referred elsewhere because CSS queries this specific are not within the scope of support provided by’s forums.

    Here’s a CSS-specific forum: CSS Creator.

    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.