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
- Gemini 2.0 Flash: An outstanding multi-modal LLM with a sci-fi streaming mode - 11th December 2024
- ChatGPT Canvas can make API requests now, but it's complicated - 10th December 2024
- I can now run a GPT-4 class model on my laptop - 9th December 2024