Lumbergh says: "If you voted, that would be greeaaaattt!" Login and vote now.
By nunos
via nunos.zi-yu.com
Published: Mar 16 2008 / 04:39
By nunos
via nunos.zi-yu.com
Published: Mar 16 2008 / 04:39
Comments
hal10001 replied ago:
The best and most consistently behaving option here is to use overflow: hidden; on the parent container div. I advise against the clearfix hack because it is a hack that is unnecessary. If you need to support IE6, then include a width on the container div, or give it a property of zoom:1; as well. If you do not then you will likely run into the peekaboo bug in a more complicated design.
dacoder replied ago:
Pretty sure the sites you work on use the clear fix :)
Voters For This Link (10)
Voters Against This Link (3)