Home > Article > Web Front-end > IE11 external style sheet is invalid_html/css_WEB-ITnose
A very amazing problem
There are no problems with the two html and css texts in chrome and ff. However, after reaching IE11, the style sheet completely failed. Looking at the console, I found that the css was not loaded at all. .
Loading method
<link href="patent.css" rel="stylesheet" type="text/css">
Is the server local?
Also, the information you described is too little! I don’t know what the reason is, whether it’s the network, the file name, or the browser itself. It is recommended that you write a separate test page with the simplest content, such as just a div and then use css to change its background or something. If it can load normally, then there is some problem with your project itself!
I am qq734337406. I encountered the same problem as you today. I searched for you on the Internet. I haven’t solved it yet. Have you solved it?