Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-22-2010, 03:45 AM   PM User | #1
boogily
Regular Coder

 
boogily's Avatar
 
Join Date: Jul 2009
Posts: 275
Thanks: 18
Thanked 4 Times in 4 Posts
boogily is an unknown quantity at this point
IE6 showing images and red X same time

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
__________________
Joomla Development Company and MN SEO
"Joomla development from design to SEO"
boogily is offline   Reply With Quote
Old 12-22-2010, 05:26 AM   PM User | #2
djh101
Regular Coder

 
djh101's Avatar
 
Join Date: May 2009
Location: Santa Clarita
Posts: 603
Thanks: 48
Thanked 63 Times in 63 Posts
djh101 is an unknown quantity at this point
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.
__________________
"Yeah science!"
Online Science Tools
djh101 is offline   Reply With Quote
Old 12-22-2010, 05:49 AM   PM User | #3
boogily
Regular Coder

 
boogily's Avatar
 
Join Date: Jul 2009
Posts: 275
Thanks: 18
Thanked 4 Times in 4 Posts
boogily is an unknown quantity at this point
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.
__________________
Joomla Development Company and MN SEO
"Joomla development from design to SEO"
boogily is offline   Reply With Quote
Old 12-22-2010, 07:20 AM   PM User | #4
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Hello boogily,
No red X here...
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:57 AM.


Advertisement
Log in to turn off these ads.