开发者

IE8 and lower showing background white

开发者 https://www.devze.com 2023-03-15 19:01 出处:网络
I am having a weird problem with ie8 and lower. I apply a backgound image and color to the body element with CSS. The background is, however, painted white in IE8 and lower when I load the page.

I am having a weird problem with ie8 and lower. I apply a backgound image and color to the body element with CSS. The background is, however, painted white in IE8 and lower when I load the page.

In the moment i resize a little bit the window the background is correctly applied.

body {
     background-image: url(../images/main.gif);
     background-repeat: repeat-x;
     background-position: top left;
     background-color: #6e9b68;  
}
开发者_开发百科

A live site suffering this problem.

Any idea how to solve this issue?


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

精彩评论

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