Solution to the problem that external css cannot be introduced under ie11

藏色散人
Release: 2020-12-17 16:35:02
Original
2019 people have browsed it

IE11下不能引入外部css的解决方法:1、打开相应的HTML文件,然后删除头部的“”;2、将HTML头部改成“”即可。

Solution to the problem that external css cannot be introduced under ie11

本教程操作环境:windows7系统、css3版,该方法适用于所有品牌电脑。

推荐:《css视频教程

问题:

在IE11下使用link标签引入css时,无法正常引入,直接在页面中使用style标签没问题。

原因:

头文件的问题。

解决方法:

● 删除头部的

● 或者,将头部改成

<!doctype>
<html>
<head>
<meta charset="utf-8">
<title></title>
    <link rel="stylesheet" type="text/css" href="css/webuploader.css">
    <link rel="stylesheet" type="text/css" href="css/diyUpload.css">
</head>
Copy after login

The above is the detailed content of Solution to the problem that external css cannot be introduced under ie11. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
css
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template