Fixing an IE scrolling glitch
6th July 2003
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. [...]
More recent articles
- Adding AI-generated descriptions to my tools collection - 13th March 2025
- Notes on Google's Gemma 3 - 12th March 2025
- Here's how I use LLMs to help me write code - 11th March 2025