清除浮动两种方法 1.用在父元素 .clear-box {overflow: auto;zoom: 1;} 2.加在父元素所包含的带有浮动子元素的后面 <div style="clear:both"></div>