clearfix
Dreamweaverのデザインビューで崩れない♪
IE7でも崩れない♪
な僕が今使ってるclearfixだよ。
/* clearfix ここから */ /* Dreamweaver レイアウト崩れ対策 */ .clearfix { overflow:hidden; } /* for modern browser */ .clearfix { display: inline-block; } .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } /* Hides from IE-mac \*/ * html .clearfix { height: 1%; } .clearfix { display: block; } /* End hide from IE-mac */ /* clearfix ここまで */