:::: MENU ::::
Posts tagged with: IE7

IE7 bug ‘overflow:scroll’ does not works, if inside div have ‘position:relative’

I recently came across a IE7 bug that I thought I’d like to share. This bug occurs, if the main div have the ‘oberflow:scroll’ & inside div have the ‘position:relative’.

I believe the easiest way to recreate this bug would be the following:

The easiest fix would be to add ‘position: relative’ to the main div. This will make IE7 work as intended. So finally, It should be:

Learn more about the CSS Overflow Property, browse the interesting post click here.