完美解决IE6中双边距bug

2017-11-06  本文已影响0人  C_razy

.box{ float: left; width: 150px; height: 150px; margin: 5px 0 5px 100px; }


如何修复这个bug?
在css中加个display:inline;就可以了

.box{
 float: left; width: 150px; height: 150px; margin: 5px 0 5px 100px; display:inline;
}
上一篇 下一篇

猜你喜欢

热点阅读