Say I have something like the following code, where I want to display some text between two images that I am floating left and right.
In CSS, floated elements do not add height to a parent by default.
The solution is simply to set overflow: hidden.
overflow: hidden
Test Text
fiddle: http://jsfiddle.net/JNets/