开发者

Why background image is not visible in Firefox?

I'm using a 1280×850 image for background. With this CSS:

body {
 line-height: 1;
 font-size: 11px;
 font-family: Verdana, Arial, Helvetic开发者_运维问答a, sans-serif;
 text-align: center;
 background:url(../images/bg.png) no-repeat bottom left;
}

Everything is ok in all browsers but not in Firefox. In Firefox, body background is white and background image is not visible. (I'm using meyer css reset).

How can I solve this?

Thanks in advance.


You will need to put some content in the body or set a height. Since your image is 850px tall use,

min-height:850px;
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜