Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Background image not displaying in IE

Featured Replies

Hi,

For some reason my banner (as a background image) is not appearing in IE 7, though it appears fine in FF. I have it as a background image as I have writing overlayed.

#banner { 
float: left;
width: 1004px;
height: 302px;
padding: 5px 10px 5px 10px;
background: url("banner.jpg") no-repeat;
}

 

Anyone have ideas what the problem could be?

  • Author

Yeah I moved the image and the css to the root to make things simpler but still no joy. I have another background image in the content div which is working fine, just this one is not showing in IE....

I recently had this problem and I ended up using

 

background-image:;background-position:;background-color:;

 

instead of one background:; deceleration. It worked fine after I did that.

Also, try using the full URL. Its not the cleanest solution but sometimes IE just need to know EXACTLY where to look.

Still no luck :(

 

Any more ideas?

 

http://www.kickstartfitness.co.uk/ I have put it online if anyone wants to take a look. IE is finding the image as it says it is downloading it in the progress bar!

 

I get this message when trying to view the image only

 

<img>The image “http://www.kickstartfitness.co.uk/images/banner.jpg” cannot be displayed, because it contains errors.

 

Have you tried uploading it again

 

Pat

  • Author
I get this message when trying to view the image only

 

<img>The image “http://www.kickstartfitness.co.uk/images/banner.jpg” cannot be displayed, because it contains errors.

 

Have you tried uploading it again

 

Pat

Odd, but the url is http://www.kickstartfitness.co.uk/banner.jpg, but equally that is coming up with a dead box. Any differences between the way IE and FF render images that people know of?

color space CMYK??? What program are you using to make this image? Export it as RGB, you may get on a bit better....

  • Author
color space CMYK??? What program are you using to make this image? Export it as RGB, you may get on a bit better....

Genius! Didn't notice it as someone supplied the banner. Cheers mate!!

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.