Home >Web Front-end >HTML Tutorial >One reason why css cannot be loaded in ie_html/css_WEB-ITnose

One reason why css cannot be loaded in ie_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:43:471471browse

Today’s project was displayed normally in Chrome browser and Firefox, but the layout in IE was messy. After searching for information online and troubleshooting, I found that it was caused by a very small reason:


The character encoding declaration of the css file is written as @charset "utf8";


The correct writing method should be @charset " utf-8";


This problem is caused by missing a "-".

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn