WordPress.org

Ready to get started?Download WordPress

Forums

Header image (incorrectly) aligned left in ie8 (4 posts)

  1. mconheady
    Member
    Posted 4 years ago #

    Starting up a new blog...
    http://newyorkinruins.com/

    I can't seem to get the "centered" header image to appear centered in ie8 (unless i run in compatability mode).
    Works centered in Chrome and Firefox (beautiful i must say).
    I normally could fix simple CSS, but this ie junk is a headache. Any ideas?

    I'll put a special thanks in my about page if you can help me.
    thanks!

  2. esmi
    Forum Moderator
    Posted 4 years ago #

  3. sddesigns
    Member
    Posted 4 years ago #

    The conditional comment link is good, but for the novice it doesnot explain what you need to add to your ie stylesheet to make the header image center with ie8.

    Any more help on this? I'm lost

  4. kruppi@macromafia.net
    Member
    Posted 4 years ago #

    hi mconheady, you have to set a fixed width/height for your header image container, for example:

    #header div {
    width: 800px;
    height: 175px;
    text-align: center;
    margin: 0 auto;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic