Internet Explorer Relative Position Resize Bug Fix

By | January 27, 2009 | 4 Comments


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 FavBrowser.com. Having said that, he is also an adrenaline junkie who enjoys good books, fitness activities and Forex trading.

  • BarryG

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

  • nadia

    Thank you, IE make me craze!

  • Amiram

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

  • http://nowhere.com lance22

    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).