HTML links not working in firefox.
Hello everyone, this is my first post here and i would just like to say hello to everyone.
i have just launched my site using godaddy here is the link.... http://www.limegreenlizzard.com/
now my problem is the site is very basic and does not have that much functionality but still i have issues with firefox. I use microsoft webmatrix and the site runs great on all browsers when testing from my localhost but now that i have the site live on Godaddy servers Firefox wont access some of the content because it is in folders or there is a "/" at the beginning of my src attribute because IE and Chrome both require it to work. when that "/" is removed Firefox works great.
now for my question.... is there a way to link it to one source for IE and Chrome and another for Firefox??
Should be :
<img src="\Pics\9and10news.gif" alt="9and10news" id="9and10" class="sponsors"/>
Just one example of slashes going the wrong way.
<img src="/Pics/9and10news.gif" alt="9and10news" id="9and10" class="sponsors"/>
Last edited by Kevin2; 01-31-2014 at 03:59 PM.
I just cannot believe that one slipped me by.... damn you w3schools they get EVERYTHING wrong
Originally Posted by Kevin2
Well ... maybe not everything. One must remember that they run on Windows/.asp which doesn't care about slash direction or capitalization. \Pics\9and10news.gif is the same as \PICS\9AND10NEWS.GIF is the same as /pics/9and10news.gif to them.
However, on a *nix/Apache system that's not the case. All of those are different files and filepaths. Best practice is to use all lower-case folder/directory and file names. Also make abso-dam-lutely sure you are using / instead of \ in your file paths. Larnt both the hard way years ago. I even use lower-case names for files that will only be used on Windows systems just to be sure.
HTML linkss works everywhere..... kevin is right there is slashes issue
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread