Viewing 3 replies - 1 through 3 (of 3 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I’d remove the header HTML out of the <div id="page">.
    Then I’d move the padding from the <body> onto <div id="page">.

    Just for future reference, avoid using negative margins if you want a browser-compatible website.

    Thread Starter igorlaszlo

    (@igorlaszlo)

    Thanks for the reply !

    I did what you suggested, i changed the margin left & right to auto as well… but it became worth because :
    1) on FF, the header became completely fixed, even with the screen resize (for example from right to left),
    2) on IE, the whole body has moved to right…

    Thread Starter igorlaszlo

    (@igorlaszlo)

    Is the problem coming from the display:inline-block ? Does IE9 has a problem with this code ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Header img is not centered in IE9’ is closed to new replies.