SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot Jenna's Avatar
    Join Date
    Jul 2002
    Location
    Atlanta, Georgia
    Posts
    132
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    wierd Firefox CSS error

    Everyone in my office uses Firefox and makes fun of me for the way my site looks in it. On this page:

    http://www.jennatollerson.com/journal

    I get the error
    Error: The stylesheet http://www.jennatollerson.com/journal/newstyle.css
    was not loaded because its MIME type, "text/plain", is not "text/css".
    Only when I open up the source code, it is set to "text/css" :
    Code:
    <link rel="stylesheet" href="http://www.jennatollerson.com/journal/newstyle.css" 
    type="text/css" />
    Does anyone know, like, what gives?

    I mean really, I hate it when I can't fix things.

  2. #2
    SitePoint Addict
    Join Date
    Jul 2000
    Posts
    201
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your web server is returning an incorrect content type in the http header for .css files.

    You can view the headers here:
    http://www.delorie.com/web/headers.c...2Fnewstyle.css

  3. #3
    SitePoint Zealot Jenna's Avatar
    Join Date
    Jul 2002
    Location
    Atlanta, Georgia
    Posts
    132
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay, I researched it up, and figured out I needed to add css to my mime.types file, so I did. Then I restarted apache, cleared my cache, and BAM! it's fixed.

    Thanks for your help!


Bookmarks

Posting Permissions

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