“Peek-a-boo” CSS Bug in IE6

In the process of rewriting the theme I use for this website, I ran across a bug in IE6 known as the “peek-a-boo” bug – where some parts of a page misteriously disappear when viewed in IE6, but then reappear when you switch between windows or select an area with the mouse. I found a web page describing the cause of the peekaboo bug and some fixes, although I found the bug persisted even after I had removed all float directives from the CSS file. Declaring position:relative or position:absolute for the problematic block fixed the problem.

Advertisements