WordPress.org

Ready to get started?Download WordPress

Forums

Header off by 1 pixel in IE, please help! (5 posts)

  1. DianellysMorato
    Member
    Posted 6 years ago #

    hi guys.
    I just finished modifying this theme: http://hookedonbaja.com/ [NSFW]
    and if you look at it in Firefox, the header is fine. But if you view it in IE (I'm using IE 6.0), it seems moved to the left by 1 pixel.
    Can anyone recommend a fix for this?

    (I have WordPress 2.0.5 installed)

    Thanks!

    Dianellys Morato

  2. Lamp
    Member
    Posted 6 years ago #

    Just do a IE CSS Hack =D

    * html body #header1, * html body #header2, * html body #header3 {
      margin-left: 1px;
    }

    That should take care of it.

  3. DianellysMorato
    Member
    Posted 6 years ago #

    Lamp:
    Thank you so very much, you are a doll!

    Dianellys Morato

  4. Heo
    Member
    Posted 6 years ago #

    same thing here. can anyone explain to me how to implement this hack ?

  5. dulwich
    Member
    Posted 6 years ago #

    write this in ur header file between ur headers...
    <!--[if IE]><style type="text/css">@import "style/ie_fixes.css";</style><![endif]-->

    then create a new folder and a file called ie_fixes.css so the link works....

    then write the css to move the header ipx to the left which should be something like this:

    #header{
    margin-left: 1px;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic