サンプル|cleafixでfloat対策
サンプル1 / default
サンプル2 / 【解決策1】floatを解除した要素を追加する
一覧を見る
サンプル3 / 【解決策2】親要素にclearfixを指定する