3 pixels extra space in IE6

浪子不回头ぞ 提交于 2020-01-03 20:02:05

问题


Could someone please work out what's happening here, and how I could fix it? I'm testing this page in IE6, IE7, FF and Chrome, and it works in everything but IE6. In that, there is a small gap between the edge of the chickens picture and the div it's in.

I hate IE6.


回答1:


This may be the "three pixel jog" bug that shows in IE6 but not later versions of IE. See http://www.positioniseverything.net/explorer/threepxtest.html for example.




回答2:


Using a CSS Reset can help!

Lots of inconsistencies between browsers can be circumvented by using a CSS reset

I use the Meyer Reset method.

However, another option is the Yahoo YUI method.



来源:https://stackoverflow.com/questions/755689/3-pixels-extra-space-in-ie6

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!