Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder boogily's Avatar
    Join Date
    Jul 2009
    Posts
    275
    Thanks
    18
    Thanked 4 Times in 4 Posts

    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"

  • #2
    Regular Coder djh101's Avatar
    Join Date
    May 2009
    Location
    California
    Posts
    628
    Thanks
    51
    Thanked 67 Times in 67 Posts
    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!"

  • #3
    Regular Coder boogily's Avatar
    Join Date
    Jul 2009
    Posts
    275
    Thanks
    18
    Thanked 4 Times in 4 Posts
    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"

  • #4
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,748
    Thanks
    22
    Thanked 1,838 Times in 1,822 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •