开发者

Internet Explorer border bug

开发者 https://www.devze.com 2022-12-24 11:31 出处:网络
On this page in Internet Explorer 6 and 7on XP and Vista there is a bug where scrolling the page seems to lose bits of the left and right borders. Has anyone seen this behaviour before, and does anyon

On this page in Internet Explorer 6 and 7 on XP and Vista there is a bug where scrolling the page seems to lose bits of the left and right borders. Has anyone seen this behaviour before, and does anyone have any ideas to avoid it?

Edit: This is fixed now.开发者_JS百科 If anyone would like to see what the problem was, find the following line and disable it in Firebug:

zoom:1; /*for hasLayout*/


You can often deal with this bug by applying position:relative to the elements in question. height:1% can also help. Another typical "black-magic" solution to dealing with IE6 and has to do with hasLayout. See http://www.satzansatz.de/cssd/onhavinglayout.html for more information.

If giving it hasLayout doesn't solve your particular issue, then you will definitely want to make sure that there is no contained element with a background of #fff that is expanding past the bounds of the containing element (likely due to IE6's way of handling padding and width).

0

精彩评论

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

关注公众号