Posts for float

CSS Floats and Container Height

<strong>&lt;edit&gt;</strong>
As pointed out by rborn in the comments below a better way is to simple set the container overflow css property to "auto". This does the job for you and is a bit tidied