清除浮动clearfix
.clearfix:after, .clearfix:before {
content: " ";
display: table;
}
.clearfix:after {
clear: both;
}
.clearfix{zoom:1;/*为IE6,7的兼容性设置*/}
赞 (0)