Refused to apply style MIME (‘text/html’) not supported stylesheet MIME

Total
0
Shares

Browser throws “Refused to apply style because its MIME type (‘text/html’) is not a supported stylesheet MIME type” when they are not able to find the file in the provided css url. And due to which the server returns 404 page with content header as text/html.

Solution

If you are getting this error then the best way to resolve is to open the css url in separate browser tab or window. Check if the file is opening correctly. Most probably you will get 404 here. So, check the url and correct it to include the right location of css file.