使用Dreamweaver的【目标浏览器检查】功能会提示浮动边距加倍: 
如果某条边与浮动方向同向,则向该边上的浮动框应用边距时,边距会增加一倍。此错误只影响一次或多次浮动的某行中的第一次浮动。    
影响: Internet Explorer 6.0 目前所知该错误只影响ie6而不影响其他浏览器。 
解决方法:添加display:inline;
例子:
当box为float时,IE6中box左右的margin会加倍。
 
     
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
< html xmlns ="http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv ="Content-Type" content ="text/html; charset=gb2312" />
< title >[url]www.52css.com[/url] </title>
< style >
.outer {
width:450px;
height:150px;
background:#fc0;
}
.inner {
float:left;
width:200px;
height:100px;
margin:5px;
background:#fff;
}
</style>
</head>
< body >
< div class ="outer" >
< div class ="inner" > </div>
< div class ="inner" > </div>
</div>
</body>
</html>
 
         左面的inner的左面margin明显大于5px。这时候,定义inner的display属性为inline。