TheNone
TheNone

Reputation: 5802

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, Helvetica, 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.

Upvotes: 0

Views: 1451

Answers (1)

Michael
Michael

Reputation: 146

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

min-height:850px;

Upvotes: 2

Related Questions