Jump to content

Background Img Problems.


njdubois

Recommended Posts

http://www.leadfootgearjammers.com/background.php

 

Look at it in any browser but IE9 and it looks great. But IE its like its not scaling it to fit the screen, its as if IE9 is scaling to fit some virtual screen? I don't know, just doesn't look right. [uPDATE] as I write this I'm using this to get my thoughts out of my head and maybe fix it myself. While doing this, I noticed that Firefox is no longer displaying correctly. Its just a band going across the top of the screen [/uPDATE]

 

The code is simple.

 

 

<html>

<head></head>

<body style=" background: url('http://www.leadfootgearjammers.com/picture_gal/1353302979-2012-03-02_21-13-14_906.jpg') no-repeat center center fixed; background-size: cover;">

</body>

</html>

 

What can I do to get better consistency in most browsers? Right now, Chrome and Safari have it dead on. Firefox is just displaying a band on the top and IE9 shows the top half of the image and you see the hood of the car. I've been up and down google. Most of the problems relate to older versions of IE, and the solutions don't worth either way. I saw -moz-background-size:100% 100%; on w3schools.com but it didn't solve my FF problem.

 

Thank you so much!

Nick

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.