Reputation: 1742
I have a funny little problem.
I have a background image on my body
element, and it loads like this in Webkit browsers (Chrome specifically).
Resizing the window seems to fix this...
here is how it should look as intended:
CSS:
body {
padding-top: 360px;
font-family:Helvetica, Helvetica Neue, Arial, sans-serif;
background: url('images/page-bg2.jpg') no-repeat left center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
Why is this happening and how do I fix it?
live site: http://www.healthfair.biz/
thanks guys!
Upvotes: 2
Views: 5179
Reputation: 2636
I'd suggest to remove body padding-top (set th, and instead, use the same padding-top on div.wrapper. This should help.
Upvotes: 2