.css file won't updoad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tyler Olson
    New Member
    • Jul 2010
    • 6

    .css file won't updoad

    I tried uploading our website and everything loaded except the .css file. I tried uploading the .css file to the FTP site manually. I was able to upload it but when i went back to my website, the .css file didn't take effect. Any ideas why the .css file isn't working? Here's what i have as the code...

    <link href="../css/style.css" rel="stylesheet " type="text/css" media="screen" />
    <style type="text/css">

    I have the .css file located in a folder called "css". The .css file is titled "style.css" .

    Any suggestions would be greatly appreciated!!!

    Thanks,

    Tyler Olson
  • Christopher Nigro
    New Member
    • Jul 2010
    • 53

    #2
    They tend to get cached - try emptying your browser cache.

    Comment

    • Tyler Olson
      New Member
      • Jul 2010
      • 6

      #3
      Originally posted by Christopher Nigro
      They tend to get cached - try emptying your browser cache.
      Chris, thanks for your quick response! I tried emptying my browser cache and that didn't work. Here is the message i get in Dreamweaver when i try uploading it to my FTP site.

      css\style.css - error occurred - An FTP error occurred - cannot put style.css. Access Denied. The file may not exist, or there could be a permission problem.
      style.css - Put operation successful

      File activity incomplete. 1 file(s) or folder(s) were not completed.
      Files updated: 1
      Files skipped: 46

      Files with errors: 1
      css\style.css


      Even when i manually load the css file the formatting isn't working. Any other ideas what could be going on?

      Comment

      • Christopher Nigro
        New Member
        • Jul 2010
        • 53

        #4
        Looks like you don't have write permissions on the CSS directory.

        Comment

        • Tyler Olson
          New Member
          • Jul 2010
          • 6

          #5
          Originally posted by Christopher Nigro
          Looks like you don't have write permissions on the CSS directory.
          So, how do i give myself permission? I don't know why i wouldn't have permissions.

          Comment

          • Christopher Nigro
            New Member
            • Jul 2010
            • 53

            #6
            Do you have admin rights on the FTP server?

            Comment

            • Tyler Olson
              New Member
              • Jul 2010
              • 6

              #7
              Originally posted by Christopher Nigro
              Do you have admin rights on the FTP server?
              Yes. I'm using the admin FTP login.

              Comment

              • Christopher Nigro
                New Member
                • Jul 2010
                • 53

                #8
                Are you FTP'ing with a gui client or from a command line?

                Comment

                • Tyler Olson
                  New Member
                  • Jul 2010
                  • 6

                  #9
                  Originally posted by Christopher Nigro
                  Are you FTP'ing with a gui client or from a command line?
                  I am FTP'ing with a gui client. I'm using Dreamweaver to upload all the files to my FTP site.

                  Comment

                  • Christopher Nigro
                    New Member
                    • Jul 2010
                    • 53

                    #10
                    You have to do one of the following:

                    1. See if DreamWeaver allows you to set perms via point and click
                    2. See if DW can let you input FTP commands directly - you need to use CHMOD command - look up the syntax
                    3. Connect to the FTP site via command line and issue the CHMOD command

                    HOWEVER, I have a strong feeling that you will not be able to do any of those. You said that you are logging in as admin, but I doubt its the FTP admin - I could be wrong. Perhaps you should speek to the admin\owner of the server.

                    Comment

                    • Tyler Olson
                      New Member
                      • Jul 2010
                      • 6

                      #11
                      Originally posted by Christopher Nigro
                      You have to do one of the following:

                      1. See if DreamWeaver allows you to set perms via point and click
                      2. See if DW can let you input FTP commands directly - you need to use CHMOD command - look up the syntax
                      3. Connect to the FTP site via command line and issue the CHMOD command

                      HOWEVER, I have a strong feeling that you will not be able to do any of those. You said that you are logging in as admin, but I doubt its the FTP admin - I could be wrong. Perhaps you should speek to the admin\owner of the server.
                      Chris, thanks for your help. I'll check into those items and let you know. Thanks!

                      Comment

                      Working...