How can I make a div grow its height when it has floats inside of it? I know that defining a value for the width and setting overflow to hidden works. The problem is that I
There's more than one way to clear floats. You can check some here: http://work.arounds.org/issue/3/clearing-floats/
E.g., clear:both might work for you
clear:both
#element:after { content:""; clear:both; display:block; } #element { zoom:1; }