This is a red float in a green box
This is some text in the same green box as the float, followed by a <br> with clear:both.
This is some text in the same green box as the float, after the <br> with clear:both.
This is a red float in a green box
This is some text in the same green box as the float, followed by a <br> with clear:both.
This is some text in the same green box as the float, after the <br> with clear:both, like in the previous case. But now this text is wrapped in a div.

IE8 beta 2 has a strange behavior in presence of a br with the clear property set: this sometimes clears a previous float but not always.

CSS tests home