Affected Versions
This bug affects: IE6
Symptoms
Some content disappears and reappears on scrolling or window transformation as well as minimizing and maximazing of the window.
Date of the Tutorial
Fri Jul 17 12:30:22 2009
Description
It is common among CSS beginners to use what is known as a clearer element to contain floats in an element. IE is different in that respect. In IE, to be able to contain floats an element must have "layout". Unless that is true you will either get a Disappearing Content Bug (aka Peek-a-boo bug) or "Leaking Background Bug". Which one you will get depends on whether or not your clearer elements are touching a floated element when the page is rendered and whether or not you have some content inside container after or inside the clearer element. Alternatively, you may have set height: 0; on the clearer element which will give it "layout" causing Disappearing Content Bug to reveal itself. In either case, if container doesn't have "layout" you will get a bug.
eBook
eBook
eBook