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


I have a JavaScript application and when I run it on Firefox, I get the following error on the console: < / P>

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

dumbstick !!

Edit: Note that it says that "stylesheet ABCD ..." but ABCD is actually an HTML file.

Edit ( Tighter ): Actually I had put the wrong code> Href = "" , and therefore the HTML file itself was changing to CSS. This was the same bug in Mozilla, and from there I was The answer has been received, but I got help from everyone's reply. Thanks.

Your HTML document In the main part of:

   rel = "stylesheet" type = "text / css" href = "/ path / to / ABCD.css">  

Your CSS file should be css only New and there should not be any markup. / P>


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -