Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Fixing an IE scrolling glitch

Mike Golding offers a solution to the slightly odd IE bug whereby divs in CSS layout sites suffer glitches as the page is scrolled (from December 2002):

The problem is in the way that Internet Explorer 6 renders its layered elements. A DIV that has nothing behind it on the page is rendered bit by bit (for efficiency) as the page scrolls. If the scrolling is anything other than 100% smooth the rendering fails leaving the sorts of glitches shown above.

The simple solution to this is put something behind the DIV(s) that are causing the problem. When the DIV(s) have something behind them IE appears to change the way in which it renders them as the page scrolls. Now IE will re-render the entire DIV as the page scrolls, less efficient but it guarantees the entire DIV is displayed correctly. [...]

This is Fixing an IE scrolling glitch by Simon Willison, posted on 6th July 2003.

View blog reactions

Next: John Robb leaves UserLand

Previous: overflow: hidden

2 comments

  1. Oh man, you can't even begin to understand how excited that makes me. I've googled on the strange IE redraw issue on and off for *ages* now with narry a decent result. If this works, I think I'll be doing the happy dance for a month!

    Dan F - 7th July 2003 13:10 - #

  2. i hope this is the way to fix this scrollling issue i have

    Darren - 25th September 2006 03:29 - #

Comments are closed.

Previously hosted at http://simon.incutio.com/archive/2003/07/06/fixingTheGlitch

A django site