FireFox CSS problem...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lwlgeorge
    New Member
    • Mar 2007
    • 3

    #1

    FireFox CSS problem...

    Hi all -

    I have a web site that I just finished developing. During development, I had the website in a folder on my local computer with a sub-folder(css) for storing CSS files.

    I tested the site using both IE and FireFox and it displayed perfectly in both.

    My problem is that once I move it to my web server, IE still displays it just fine, but FireFox acts as though the CSS files don't exist. The content appears, but with the CSS files being applied.

    I even changed my references to the CSS files to be explicit paths instead of relative paths. Still IE is fine and FireFox doesn't seem to find the CSS files.

    I'm a little confused since it all worked fine when the site was on my local computer.

    Any ideas?
  • Lwlgeorge
    New Member
    • Mar 2007
    • 3

    #2
    FYI, the website can be viewed at http://www.sbcne.com/new

    Originally posted by Lwlgeorge
    Hi all -

    I have a web site that I just finished developing. During development, I had the website in a folder on my local computer with a sub-folder(css) for storing CSS files.

    I tested the site using both IE and FireFox and it displayed perfectly in both.

    My problem is that once I move it to my web server, IE still displays it just fine, but FireFox acts as though the CSS files don't exist. The content appears, but with the CSS files being applied.

    I even changed my references to the CSS files to be explicit paths instead of relative paths. Still IE is fine and FireFox doesn't seem to find the CSS files.

    I'm a little confused since it all worked fine when the site was on my local computer.

    Any ideas?
    Last edited by AricC; Mar 7 '07, 11:04 PM. Reason: Activate Link

    Comment

    • AricC
      Recognized Expert Top Contributor
      • Oct 2006
      • 1885

      #3
      Originally posted by Lwlgeorge
      Hi all -

      I have a web site that I just finished developing. During development, I had the website in a folder on my local computer with a sub-folder(css) for storing CSS files.

      I tested the site using both IE and FireFox and it displayed perfectly in both.

      My problem is that once I move it to my web server, IE still displays it just fine, but FireFox acts as though the CSS files don't exist. The content appears, but with the CSS files being applied.

      I even changed my references to the CSS files to be explicit paths instead of relative paths. Still IE is fine and FireFox doesn't seem to find the CSS files.

      I'm a little confused since it all worked fine when the site was on my local computer.

      Any ideas?
      You're missing the opening <html> tag, IE is somewhat forgiving.

      Comment

      • Lwlgeorge
        New Member
        • Mar 2007
        • 3

        #4
        Originally posted by AricC
        You're missing the opening <html> tag, IE is somewhat forgiving.

        Thanks AricC. I just added the opening <html> tag and it did not solve my problem.

        I posted this same message to another forum and got a reply which suggested that the web server was misconfigured. The replier stated that the "actual MIME type of the css file" was being sent as "applicatio n/octet-stream" instead of "text/css".

        Can you point me in a direction for fixing this on the web server? I am assuming that somehow I need to add "text/css" as a MIME type to my web server configuration somewhere. Am I wrong?

        Comment

        • philleep
          New Member
          • Mar 2007
          • 74

          #5
          have you validated your code?

          cheer
          phileep

          Comment

          • AricC
            Recognized Expert Top Contributor
            • Oct 2006
            • 1885

            #6
            Originally posted by philleep
            have you validated your code?

            cheer
            phileep
            Yes, his code is valid. Are you running the site yourself or is it hosted somewhere?

            Comment

            Working...