...

View Full Version : CSS File not found on Server



sheenalee
07-13-2011, 04:39 PM
I've got an odd issue.

I just finished coding a page in CSS and everything works just fine locally, but as soon as I upload, the HTML file refuses to find css/stylesheet.css! My paths are fine, like I said it works perfect locally. I even tried to point the HTML file in DreamWeaver in the direction of my server path to see if DreamWeaver could find it, and it couldn't.

I tried changing the folder name and the permissions, and that didn't work. The only fix I've found is to put the css file in the same folder as the index, which works, but I'm using @font-face and would really like to keep all the files in their own folder..

It's not a problem with my code. What could be happening?

Sheena

tracknut
07-13-2011, 04:47 PM
Without a link, all we can do is guess. I'm guessing your folder or file names are not correct. Maybe a upper/lowercase issue, maybe a typo, I don't know.

Dave

sheenalee
07-13-2011, 04:52 PM
Without a link, all we can do is guess. I'm guessing your folder or file names are not correct. Maybe a upper/lowercase issue, maybe a typo, I don't know.

Dave

The link is http://sheena-lee.net/mata

The folder names are correct, though. The exact files work locally. I get a 403 forbidden when I try to click the CSS file in my code. It's there, it just won't let me at it. The permission of the folder is 755, which I had changed from 700 which both give me the same issue.

tracknut
07-13-2011, 05:01 PM
Looks to me like the permissions on the css folder are fine (actually a bit loose because I can see the folder contents from here), but the permissions on the stylesheet.css file are not.

Dave

sheenalee
07-13-2011, 05:09 PM
Looks to me like the permissions on the css folder are fine (actually a bit loose because I can see the folder contents from here), but the permissions on the stylesheet.css file are not.

Dave

Fixing the permissions of the CSS file (and then all the @font-face files too) seems to have fixed my problem. Thanks!

What do you suggest I make the permission of the folder so it's not as visible?

tracknut
07-13-2011, 05:12 PM
Actually now the folder looks correct (i.e. I can't see it) now. So I think you're good.

Dave

sheenalee
07-13-2011, 05:15 PM
Actually now the folder looks correct (i.e. I can't see it) now. So I think you're good.

Dave

Super! thank you :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum