471,896 Members | 1,711 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,896 software developers and data experts.

Background Image Displaying in IE7/Firefox but not in IE6


I have seen a few other posts on this forum about this from my seaching, however still cannot find a solution to my issue (probably just me, so if anybody knows where this has been answered before grateful for a point in the right direction).

My CSS background masthead is appearing fine, as are all of my background images in other cells. The problem div is this one:

#main {
background-image: url(../images/background.png);

The site URL is here The area where the background should be is displayed as a light blue colour on my computer with IE6.

All of my background images are PNG.

Many thanks for any help!
Aug 8 '07 #1
5 2629
7,435 Expert 4TB
Validate and fix your 14 html errors and validate for CSS, too. id names can only be used once per page.
Aug 8 '07 #2
i might aswell add that IE6 cant handle .png files properly if they have transparent pixels in them.
Aug 8 '07 #3
Thanks for your replies. I've fixed all the HTML errors thrown up by validation, and my CSS has passed a separate validation check as well.

I've tried changing the affected background to .jpg from .png, but this hasn't solved the problem - the page views with a light blue background on IE6 the same as before.

Any other ideas?

Aug 16 '07 #4
7,435 Expert 4TB
The background on #main is still a .png but this problem is really weird.
Aug 16 '07 #5
Yeah, I changed it back to the original .png after I tried out the .jpg without success.

I'm still trying to get my head round this!
Aug 17 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

13 posts views Thread by Giggle Girl | last post: by
14 posts views Thread by arteccentrix | last post: by
24 posts views Thread by TC | last post: by
2 posts views Thread by Roger | last post: by
8 posts views Thread by =?Utf-8?B?R3JlZyBMYXJzZW4=?= | last post: by
reply views Thread by YellowAndGreen | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.