Resource Interpreted As Stylesheet But Transferred With Mime Type Text/html:


when I add this line of code

<link rel="stylesheet" href="css/style.css" />

to my main.php file, I am getting following error…

"Resource interpreted as Stylesheet but transferred with MIME type text/html:"

While searching on google I found that I should add AddType text/css .css to .htaccess but that didn’t work…

Can someone help me ?

Ah, when I do it in a yii proper way


no errors…(maybe it helps someone)