...

View Full Version : IE6 showing images and red X same time



boogily
12-22-2010, 04:45 AM
I have a simple IE6 png fix on my site and it works great under normal conditions. However, when I section off my site into php includes, the site displays the image and the red x for no image. Any clue why?

http://www.happydogwebproductions.com/3

djh101
12-22-2010, 06:26 AM
Think of includes as including the code from the included file into your main file rather than including the file itself. The path to your image must be relative to the main file, not the included file. If you are including a file with source links in it to files that aren't all inside the same folder, you can put the full URL of your images or stylesheets (or whatever you're linking) instead of the relative URL.

boogily
12-22-2010, 06:49 AM
They are all in the root directory anyways. If it read an improper directory, the image wouldn't even show. It actually shows the image, but the shows the redX and alt text over the image.

Excavator
12-22-2010, 08:20 AM
Hello boogily,
No red X here...



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum