This works for modern browsers. If you want to support IE6 you will want to add the following:
.clearfix {
overflow: auto;
zoom: 1;
test
test
test
}
If we do not provide this hack then nested elements will overflow the container and not update the parent element.





