The “Holly Hack,” a clever CSS trick by Holly Bergevin that fixes, among other things, the infamous Internet Explorer peekaboo bug.
One particular problem is that a container of floating elements without a specified width will not render the correct size, i.e. enough to contain them and no more.
The solution to this problem comes in the form of the “Holly Hack,” :
/* Hides from IE5 –mac */
* html .somediv {height: 1%;}
/* End hide from IE5 –mac */
It does a couple things:
This box is styled differently in IE using the “Holly Hack,”
* html #wrapper {background-color: #ffffff;} /* for IE/Win */
So, that's all pretty cool
!!!!!!!!!!!!BUT NONE OF THIS WORKS IN IE7!!!!!!!!!!!!