0问题clear: both
我的内容我用这个:DIV高度:在IE
CSS:
.clr {
clear: both;
height: 0; /* i have tried 0.001em to */
line-height: .001em;
overflow: hidden;
}
HTML:
<div class="clr"> </div>
它完美的作品在每一个导航仪。但在IE 7 & 8 div仍然有几个像素的高度。我怎样才能避免这种情况?
可能复制http://stackoverflow.com/questions/950829/div-height0px-does-not-的工作 – Jujjuru 2010-05-28 07:41:03
没有它没有。我的溢出已经隐藏,我的lineheight设置为 – meo 2010-05-28 07:54:34