I have the age-old problem of a div wrapping a two-column layout. My sidebar is floated, so my container div fails to wrap the content and sidebar. <div id="container">...
This question already has answers here: What methods of ‘clearfix’ can I use? (29 answers) Closed 7 years ago. Although elements like <div>s normally grow to fit their contents,...
Recently I was looking through some website’s code, and saw that every <div> had a class clearfix. After a quick Google search, I learned that it is for IE6...