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 need a div with the overflow visible. Any ideas?
overflow:auto; on the containing div makes everything inside of it (even floated items) visible and the outer div fully wraps around them. See this example.