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 7 of 7
  1. #1
    New to the CF scene
    Join Date
    Jul 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question CSS File not found on Server

    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

  • #2
    Senior Coder
    Join Date
    Aug 2006
    Posts
    1,343
    Thanks
    11
    Thanked 288 Times in 287 Posts
    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

  • #3
    New to the CF scene
    Join Date
    Jul 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by tracknut View Post
    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.

  • #4
    Senior Coder
    Join Date
    Aug 2006
    Posts
    1,343
    Thanks
    11
    Thanked 288 Times in 287 Posts
    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

  • #5
    New to the CF scene
    Join Date
    Jul 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by tracknut View Post
    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?

  • #6
    Senior Coder
    Join Date
    Aug 2006
    Posts
    1,343
    Thanks
    11
    Thanked 288 Times in 287 Posts
    Actually now the folder looks correct (i.e. I can't see it) now. So I think you're good.

    Dave

  • #7
    New to the CF scene
    Join Date
    Jul 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by tracknut View Post
    Actually now the folder looks correct (i.e. I can't see it) now. So I think you're good.

    Dave
    Super! thank you


  •  

    Posting Permissions

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