Affected Versions
This bug affects: IE6
Symptoms
Background leaks out from the element onto other elements that are next in the flow.
Date of the Tutorial
Fri Jul 17 11:36:49 2009
Description
This bug is a close relative to Disappearing Content Bug, maybe even a counter part. 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 Leaking Background Bug or Disappearing Content Bug (aka Peek-a-boo 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. In either case, if container doesn't have "layout" you will get a bug.

