View Full Version : IE6 showing images and red X same time
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?
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.
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.
12-22-2010, 08:20 AM
No red X here...
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.