开发者

IE6 added a large left offset to my element?

I have the below in FF

开发者_运维百科

IE6 added a large left offset to my element?

But in IE6, I get

IE6 added a large left offset to my element?

In debugBar, I get

IE6 added a large left offset to my element?

Whats with the large offset.

http://jsfiddle.net/eteQ7/2/


There is a bug in IE6 known as "Doubled Float-Margin Bug". IE6 will double a left margin applied to a floated block element.

In order to avoid this behavior, you should use the fix suggested in this article, adding a display:inline; property to the element, e.g. in a CSS stylesheet loaded only for IE6 using conditional comments.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜