- 履歴一覧
- 差分 を表示
- 現在との差分 を表示
- 履歴 を表示
- 障害メモ/IE9でclear bothが効かない へ行く。
- 1 (2013-04-11 (木) 12:28:16)
*キーワード [#h71bd1a4] -IE9(Internet Explore 9) -HTML -CSS *現象 [#zf0fb3c3] ありがちな「clear: both;」がIE9でなぜか効かない。 .left { float: left; } .right { float: right; } .container:after { content: ""; display: block; clear: both; } *原因 [#nca65129] 分からん。 *対策 [#o00cc2d2] .container { overflow: auto; } もしかしたら width も入れてあげないとだめかも。詳しくは参考サイトで。 *参考 [#se09bd40] -http://www.quirksmode.org/css/clearing.html