Home >Web Front-end >HTML Tutorial >One reason why css cannot be loaded in ie_html/css_WEB-ITnose
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 "-".