日期:2014-05-17  浏览次数:20687 次

为什么这么基本的CSS在ie6中都不能正确显示?是不是中病毒了?而ff显示为预期的两列.
<div   style= "width:400px;   margin:0;   padding:0;   border:solid   1px   #000; ">
<div   style= "display:block;   float:left;   padding:0;   margin:20px;   width:160px;   background-color:#ccc;   text-align:center;   line-height:50px ">
Hello   world.
</div>
<div   style= "display:block;   float:left;   padding:0;   margin:20px;   width:160px;   background-color:#ccc;   text-align:center;   line-height:50px; ">
Hello   world.
</div>
<p   style= "clear:both; "> </p>
</div>

------解决方案--------------------
呵呵,IE6的盒模型有问题了,不是FF的错。FF opera 标准兼容是很完美的了。习惯问题

通常汇款的时候为了区分开来,大多都是让买方多或者少汇 几分或者几毛钱,来区别开来了。所以设置宽高的时候通常在整数760px这样的情况下 -2px 或者更多了,反正不宜超过