IE6双页边距错误 [英] IE6 double margin bug
本文介绍了IE6双页边距错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我们向左浮动一个固定宽度的div元素时,margin-left
的值将加倍.有没有可用的解决方案?
When we float a fixed width div element to the left, the margin-left
's value is doubled. Is there any solution available?
我希望不需要JavaScript的解决方案.
I'd prefer solutions not requiring JavaScript please.
推荐答案
如果我没记错的话,设置
If I remember correctly, setting
display: inline
此DIV将解决问题.
-
这篇关于IE6双页边距错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文