其他分享
首页 > 其他分享> > Stylesheet not loaded because of MIME-type

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.

 

标签:because,Stylesheet,404,MIME,loaded,type
来源: https://www.cnblogs.com/chucklu/p/15166968.html