T
T
tonik332018-10-20 02:04:50
css
tonik33, 2018-10-20 02:04:50

MIME type ('text/html') is not a supported, css error, what to do?

5bca61c4dfe20501039973.png
CSS file is not loaded by the browser, how to fix it?
5bca628e0b942370725220.png5bca63875086c719489384.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
T
ThunderCat, 2018-10-20
@tonik33

There are only a few options
a) CSS files do not really lie along this path, that is, you did not correctly determine the path to them.
b) In xtaxess, you have a single entry point configured, but exceptions are not configured for css files and the server does not process them.
c) Deny from all is configured in the folder, so it is also impossible to knock there from the web.

P
Pavlo Ponomarenko, 2018-10-20
@TheShock

Your webserver should serve css files (nginx, apache or whatever you have) with "text/css" mime type, not "text/html"

A
A person from Kazakhstan, 2018-10-20
@LenovoId

And in html5 there is no type , you can not specify

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question