Skilldrick
Skilldrick

Reputation: 70819

Internet Explorer border bug

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. If anyone would like to see what the problem was, find the following line and disable it in Firebug:

zoom:1; /*for hasLayout*/

Upvotes: 2

Views: 1536

Answers (1)

Ted
Ted

Reputation: 7251

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).

Upvotes: 2

Related Questions