+ 20
How can you clear sides of a floating elements
Clear Floating
3 Answers
+ 4
Add an clearfix element after the float element
More information https://css-tricks.com/snippets/css/clear-fix/
+ 3
When clearing floats, you should match the clear to the float: If anelement is floated to the left, then you should clear to the left. Your floated element will continue to float, but the cleared element will appear below it on the web page.
0
U also have to give border size