Stylesheet not loaded because of MIME-type

Stylesheet not loaded because of MIME-type

引用的路径错误,目标路径没有对应的css文件。因为服务器返回了404错误,是html格式的,匹配不上css

In most cases, this could be simply the CSS file path is wrong. So the web server returns status: 404 with some Not Found content payload of html type.

The browser follows this (wrong) path from <link rel="stylesheet" ...> tag with the intention of applying CSS styles. But the returned content type contradicts so that it logs an error.

Stylesheet not loaded because of MIME-type

 

上一篇:从零开始学习Java多线程(一)


下一篇:enode框架step by step之消息队列的设计思路