Internet Explorer Relative Position Resize Bug Fix

By | January 27, 2009

Here is a quick solution in case you are experiencing the same issue as I did today.

When using div with position:relative, it becomes fixed during window resize in the Internet Explorer.

There is an easy fix. Just add position:relative to css body element and you’re done.

About (Author Profile)

Vygantas is a former web designer whose projects are used by companies such as AMD, NVIDIA and departed Westood Studios. Being passionate about software, Vygantas began his journalism career back in 2007 when he founded Having said that, he is also an adrenaline junkie who enjoys good books, fitness activities and Forex trading.

Comments (4)

Trackback URL | Comments RSS Feed

  1. BarryG says:

    Thank you, it took me forever to find this post but you saved me!

  2. nadia says:

    Thank you, IE make me craze!

  3. Amiram says:

    Well, unfortunately it doesn’t work for me… adding position: relative to the css body element does nothing.

  4. lance22 says:

    Didn’t work for me either. Using IE8 in compatibility mode. I think this is a foobar with tabeless design as the pages with tables don’t have the problem, but mine do (I use tableless).