Stop fucking around Morris, just set the overflow to auto on container divs to get them to expand their height to fit all elements. Simple. Store that to memory, never cry over floats messing up your homework help and layouts again.
There are other methods, but this is the best one. If I catch you, using <div> again you will be beaten… badly; yes I mean you!