Forums

Images off to the right only in Firefox & Unknown Bar (2 posts)

  1. docmisty
    Member
    Posted 3 years ago #

    Could someone take a look at my blog in Firefox and IE Explorer? http://www.HomeschoolBytes.com

    I have 2 problems:

    1. When I try to center an image that I upload using the WordPress uploader, the image looks great in IE, but in Firefox, it is bumped over into the right sidebar. The only thing I can do is change the image to "no alignment" to keep it out of the right sidebar in Firefox. I'd really like to have my photos centered.

    Compare this post with "no alignment" in Firefox:
    http://www.homeschoolbytes.com/parenting/review-the-safe-sunscreens-now-that-spring-is-here/

    with this one "centered":
    http://www.homeschoolbytes.com/homeschool-curriculum/history-curriculum/memorize-the-preamble-to-the-constitution/

    2. I have this unknown bar that pops up across the top of my uppermost post, covering up the first line of the title, but again, ONLY in Firefox. I don't know where this is coming from or how to remove it. Any ideas?

    Thanks for helping a newby blogger!

  2. thelastknight
    Member
    Posted 3 years ago #

    On your centred image you have display: block; and margin: 0 auto 0 auto. If you want to avoid this style error that you are getting, go for a safer method. I'd use a <div class="holder"> around the images you want to centre. And then do the following in your CSS.

    div.holder { width: widthOfParentDiv px; text-align: center; }

Topic Closed

This topic has been closed to new replies.

About this Topic