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

3
Hi

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 {
position:relative;
left:0px;
top:0px;
width:760px;
height:1500px;
z-index:1;
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
drhowarddrfine
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
Floydan
24
i might aswell add that IE6 cant handle .png files properly if they have transparent pixels in them.
Aug 8 '07 #3
simcom
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?

Cheers
Aug 16 '07 #4
drhowarddrfine
7,435 Expert 4TB
The background on #main is still a .png but this problem is really weird.
Aug 16 '07 #5
simcom
3
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.