View Full Version : displaying locally but not on server???

06-15-2012, 05:14 AM
I have created a site locally but when uploaded to a host, it does not display correctly.
The HTML / CSS files are available via: http://psdigitalmedia.com/im/

If downloaded, it displays as intended, if opened in host, images, text, and sizes are completely unformatted. I believe it has something to do with stylesheets but can't locate the culprit.

PLEASE HELP!! I am on tight time constraints and at my wits end.

06-15-2012, 09:47 AM
I checked the page source...linking the style sheet, you have done it like this:

<link rel="stylesheet" href="./Irida Mete Photography_files/1335575171" type="text/css">

Since the main html file is in the root, it should be like this:

<link rel="stylesheet" href="Irida Mete Photography_files/1335575171" type="text/css">
The problem is with the directory transversing.

On a side note:
It is advisable if you are going one level up in directory(to the parent directory:
instead of

Hope it helps.

06-15-2012, 12:53 PM
Thanks Recoder - I will try that out. iBall, the directory listing is not the final URL so I didn't create the index file yet. Just click on the file in that directory to view the site on the host or download the files to view them locally.

Thanks again for your replies!!!

06-15-2012, 01:31 PM

Thank you for your quick reply. I've replaced the spaces with an "_" but no deal. I am perplexed. I also tried eliminating "./" but that did not work either.

06-15-2012, 02:11 PM
Thank you iBall! It worked! :thumbsup::D
Funny how the simplest things can sometimes waste so much of your time!!