Click here to Skip to main content
15,888,113 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Refused to apply style from 'https://stephengroner.com/path/to/styles.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled. stephengroner.com/:1

What I have tried:

I am not an experienced code person so I have been reluctant to try anything at this point. I have cleared my site cache and the Chrome cache but nothing seems to help.
Posted
Updated 16-Jul-23 7:39am

1 solution

You answered your own question.
Quote:
Refused to apply style from 'https://stephengroner.com/path/to/styles.css' because its MIME type ('text/html') is not a supported stylesheet MIME type

The stylesheet mime type is 'text/css':
HTML
<style type="text/css">

or if using a link:
HTML
<link rel="stylesheet" type="text/css" href="yourStylesheet.css" />
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900