473,386 Members | 1,830 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 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 2853
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

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

Similar topics

5
by: Gaz | last post by:
Hi, I have found an issue when comparing Firefox with IE6 (Windows) where a page links to a css file that is in it's own directory. IE6 URL property of the background css element uses the...
5
by: proximus | last post by:
Hi, I am trying to change the background of table TD's. The problem is that I have no access to the HTML code. SO I am trying to alter this using Javascript/DOM in an external .js file. I...
13
by: Giggle Girl | last post by:
Hi there, I need to use a background image in a TR that does NOT restart everytime it hits a TD. Can it be done? Specifically, if you set a background image for an entier table, now mater how...
1
by: Dan V. | last post by:
Does anyone know why the header looks correct in IE 6.0 and not Firefox 1.07? I am trying to have a header that looks good when you expand it wider and smaller. In other words when you shrink...
14
by: arteccentrix | last post by:
Please bear with me as I am new to both Firefox and CSS. I have browsed through a number of groups looking for similar problems to my own but can't find a definitive answer. If anyone here can help...
24
by: TC | last post by:
Hi folks I want to enhance my website to distinguish "external" hyperlinks from "internal" ones. With that aim, I've written the following two small files for testing purposes: ...
2
by: Roger | last post by:
Hi, Can anybody help to fix the vertical centering of an image in Firefox (2.0)? Apparently, Firefox puts the top half of the image in the background of the top of the screen instead of placing...
8
by: =?Utf-8?B?R3JlZyBMYXJzZW4=?= | last post by:
I'm trying to figure out how to modify a panel (panel1) from a backgroundworker thread. But can't get the panel to show the new controls added by the backgroundwork task. Here is my code. In...
1
by: simct | last post by:
As part of my learning, I wrote the following codes to display 2 background images side-by-side: <head> <style type="text/css"> .image1 {background-image: url(images/sw1.jpg); ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.