Topic: Getting an error "The stylesheet was not loaded because its MIME type, "text/html" is not "text/css" (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: you tell me |
posted 06-02-2008 15:06
Hey guys I'm working in the new Dojotoolkit and well havent been able to get much done as I'm plagued with this one error when I run it in firefox code: The stylesheet root/dijit/themes/soria/soria.css was not loaded because its MIME type, "text/html", is not "text/css".
|
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 06-02-2008 15:43
Seems your webserver's not correctly sending css files... are you still on your own apache that you have to configure? |
Bipolar (III) Inmate From: you tell me |
posted 06-02-2008 15:46
Yes Im running WAMP and this is on my local host - I tried to include the same files from an online server and it worked there.. what should I do here to make it work? |
Bipolar (III) Inmate From: you tell me |
posted 06-02-2008 15:47
The weird thing is that all my other css files in other folders are being included quite well enough - so whats the problem with this one?????? |
Paranoid (IV) Inmate From: Florida |
posted 06-03-2008 14:15
It'd weird if it only isn't working in one directory. Try adding this to a .htaccess file (or whatever WAMP uses) in that same directory/area: code: AddType 'text/css; charset=UTF-8' css |