清除Html元素浮动

html body div.clear,
html body span.clear
{
     background: none;
     border: 0;
     clear: both;
     display: block;
     float: none;
     font-size: 0;
     margin: 0;
     padding: 0;
     overflow: hidden;
     visibility: hidden;
     width: 0;
     height: 0;
}
posted @ 2011-06-08 18:39  HTL  阅读(1054)  评论(0编辑  收藏  举报
htl