This is due to the fact that all the delimiters contained in it.
I'm not sure why this is the case, but I know a few solutions. Either set the overflow: hidden for the containing div, or add another div below the floating divs with "clear: both". Of course, you can also set the height and width of the containing div.
source
share