Viewing 4 replies - 1 through 4 (of 4 total)
  • Try using Firefox with the Firebug add-on for this kind of CSS work.
    http://getfirebug.com/

    Thread Starter elic2013

    (@elic2013)

    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

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    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 ww.wp.xz.cn’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.