This is a heading

As in the previous examples, there is an image in a div and the image has been floated left with a right margin. In this case however, an overflow property with a value of auto has been applied to the div.
.

This is an h2 following the div, but in this case we have not used a clear:left to the h2 but the overflow applied to the container takes care of it and the background color now extends to the bottom of the image rather than ending when the text ended.