开发者

strange ie8 css behavior - disappearing/re-appearing background color?

I have a page that simply has a dark-grey background for the body with a div in the foreground that has a white background. In every other browser besides IE 8 (even IE 7 seems to work fine!) the page is rendered fine. However, in IE8, I see the background color for a split second before it turns into white. Even more bizarre, when I open up the developer tools on IE8, the dark grey background re-appears!

I've tried this on 3 di开发者_StackOverflow中文版fferent computers now each with slightly versions of Windows, with the same results.

My only solution so far is to apply the dark grey background color to the html element which seems to work, but I'm fairly sure this is non-standard.

Any suggestions? Is this a known bug?


It's a bug in the version of jQuery you're using (v1.6.1).

I came across the same problem in this question, it has all the info you need: Weird IE8 layout glitch - why does the body background disappear?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜