Support » Themes and Templates » Image Positioning CSS

  • Resolved thatjohnpaul


    Hi there,

    Not sure if this is the right place, but if anyone is willing to help out, I’d really appreciate it. I’m testing out a site here and I can’t seem to find why every blog post divider (the image that comes after each post) is centered and positioned correctly except the one here.


Viewing 4 replies - 1 through 4 (of 4 total)
  • Categories: another category, Uncategorized

    Is shifting it over.

    Instead of using:

    <img style="margin: 125px 55px 0 0;" src="">

    do something like this:

    <div style="clear:both; text-align:center;>
    <img style="margin: 100px auto 0;" src="">

    Yes, to the above, except that it’s much preferred to avoid using inline CSS at all. So you could put a specific class in for the image and then put the CSS in the external CSS file.

    But for sure, don’t use <center> tags as they are deprecated and are unsupported in HTML5

    yeah i should have hinted at the class, just didnt feel like all the typing. never use inline styles.

    Fixed! Thank you both so much, I really appreciate it! Cheers.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Image Positioning CSS’ is closed to new replies.