返回列表

清除浮动

默认分类 2014/07/28 03:57

http://fiddle.jshell.net/Nmya3/11/show/

<style type='text/css'>
.clearfix{*zoom:1}
.clearfix:after{display:table;content:" ";clear:both;}
hr.clearfix {font-size: 1px; line-height: 1px; height: 1px; overflow: hidden; clear: both; border: 0px; padding: 0px; margin: -1px 0px 0px 0px; list-style: none; border-style: none; background: none; visibility: hidden;}
</style>