I’ve been unsuccessfully trying to get an external stylesheet to load in an html page in the Web Dev module trial.
I’ve tried the standard direct link tag:
<link rel="stylesheet" type="text/css" href="css/styles.css">
Have also tried the full url:
<link rel="stylesheet" type="text/css" href="http://server/main/system/webdev/PROJECT_NAME/styles.css">
Both of which (when viewing source code) actually link to the stylesheet in the browser.
However, both Chrome and IE keep giving me this error about the stylesheet in the console:
“Resource interpreted as Stylesheet but transferred with MIME type text/html”, so the styles will not load.
I also get this same message when trying the @import method.
The only way I can get any styles to show is by directly applying styles in the tags.