Topic: Getting an error "The stylesheet was not loaded because its MIME type, "text/html" is not "text/css" Pages that link to <a href="https://ozoneasylum.com/backlink?for=30301" title="Pages that link to Topic: Getting an error &amp;quot;The stylesheet was not loaded because its MIME type, &amp;quot;text/html&amp;quot; is not &amp;quot;text/css&amp;quot;" rel="nofollow" >Topic: Getting an error &quot;The stylesheet was not loaded because its MIME type, &quot;text/html&quot; is not &quot;text/css&quot;\

 
Author Thread
paritycheck
Bipolar (III) Inmate

From: you tell me
Insane since: Mar 2004

IP logged posted posted 06-02-2008 15:06 Edit Quote

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".



And cos of that my example tryouts seem all messed up. I'd really appreciate any help on this guys

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

IP logged posted posted 06-02-2008 15:43 Edit Quote

Seems your webserver's not correctly sending css files... are you still on your own apache that you have to configure?

paritycheck
Bipolar (III) Inmate

From: you tell me
Insane since: Mar 2004

IP logged posted posted 06-02-2008 15:46 Edit Quote

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?

paritycheck
Bipolar (III) Inmate

From: you tell me
Insane since: Mar 2004

IP logged posted posted 06-02-2008 15:47 Edit Quote

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??????

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

IP logged posted posted 06-03-2008 14:15 Edit Quote

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



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu