"The stylesheet was not loaded because its MIME type, "text/html" is not "text/css".

Posted by Null Pointer on Stack Overflow See other posts from Stack Overflow or by Null Pointer
Published on 2010-02-03T08:00:16Z Indexed on 2010/03/12 1:47 UTC
Read the original article Hit count: 301

Filed under:
|
|
|
|

I have a javascript application and when I run it on firefox I am getting the following erro on the console:

"The stylesheet was not loaded because its MIME type, "text/html" is not "text/css".

DumbStuck!!

EDIT: Note that it tells that "The stylesheet ABCD..." But ABCD is actually an HTML file.

Edit (ANSWER) : Actually I had wrongly put href="", and hence the html file was refenecing itself as the CSS. Mozilla had the similar bug once, and it is from there I got the answer. But everyone's else answers helped me too. Thanks.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about firefox