iosart.com | projects | articles | photos | about

IE6 CSS bug

DHTML – using a floated DIV followed by a <DIV STYLE="clear:both;"> causes some strange behavior in IE6 – a large portion of the page disappears and reappears randomly after refresh and/or mouse hover.

What was happening is that the above configuration brought out a bug in IE6 and it drew the (white) background OVER the text in the DIV. Removing the background: white; from the style sheet solved the problem, but I really needed the background to be white. Putting the same background setting on the parent container solved the problem.

Comments are closed.