`<style>
.clearfloat {
*zoom: 1;
}
.clearfloat:after {
content: "";
height: 0;
display: block;
clear: both;
visibility: hidden;
}
</style>
*是为了兼容低版本IE7浏览器 zoom是ie属性,设置缩放比例
`<style>
.clearfloat {
*zoom: 1;
}
.clearfloat:after {
content: "";
height: 0;
display: block;
clear: both;
visibility: hidden;
}
</style>
*是为了兼容低版本IE7浏览器 zoom是ie属性,设置缩放比例