回答:
clear:both
要素を、ドキュメント内でそれに先行するフロート要素の下にドロップします。
clear:left
またはclear:right
を使用して、左または右にフロートされた要素のみの下にドロップすることもできます。
+------------+ +--------------------+
| | | |
| float:left | | without clear |
| | | |
| | +--------------------+
| | +--------------------+
| | | |
| | | with clear:right |
| | | (no effect here, |
| | | as there is no |
| | | float:right |
| | | element) |
| | | |
| | +--------------------+
| |
+------------+
+---------------------+
| |
| with clear:left |
| or clear:both |
| |
+---------------------+
ただ、チェックアウト、RichieHindleの答えに追加するFloatutorial CSSはフローティングとクリアの動作方法を説明します。