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 Picture not showing in IE

Featured Replies

Hi Folks

 

Can you please help. I am developing a new site for my customer and in IE 8 the main header image is not being displayed.

 

The site is Hot Tub Hire

 

I am just finishing off and tweaking the site and noticed this before sending to my client.

 

Can anyone help?

 

Thanks

 

Phil

Start by validating your code. 90% of IE errors come from invalid markup or CSS.

 

Agree. Try validating in W3 to start with.

 

If everything there is Ok, it should 90% be sorted, if not, try w3schools and try the online editor reference there and check the code for CSS background.

Edited by Silent Web Solutions

try developing with IE in the first place and not some 'compliant' browser that forgives poor code. No wonder so many like Firefox etc when it wrongly accepts bad code.

 

#content{width:794px; position:relative; clear:both; background:url(../images/b_header.jpg)0 0 no-repeat}

 

you need a space between )0 and the ;

No wonder so many like Firefox etc when it wrongly accepts bad code.

 

 

I'm gonna have to disagree with this. If IE could serve XHTML1.1 Strict, we wouldn't have so many problems, because any malformed code (at least the markup) would result in an XML error rather than a "best guess" rendering.

 

If everyone was able to use that DOCTYPE we'd have far less sloppy markup.

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.