我正在尝试使用<!--[if lt IE 9]>
条件在IE中打开时设置一个唯一的css文件,但它不起作用。
我尝试在<head>
<body>
上footer
上<head>
<meta charset="UTF-8">
<link href="css/style.css" type="text/css" rel="stylesheet">
<link href="css/header.css" type="text/css" rel="stylesheet">
<link href="css/menu-header.css" type="text/css" rel="stylesheet">
<link href="css/login.css" type="text/css" rel="stylesheet">
<link href="css/footer.css" type="text/css" rel="stylesheet">
<link href="css/sinistro.css" type="text/css" rel="stylesheet">
<link href="css/laudos.css" type="text/css" rel="stylesheet">
<link href="js/bootstrap/css/bootstrap.css" type="text/css" rel="stylesheet">
<!--[if lt IE 9]>
<link rel="stylesheet" type="text/css" href="movimentacao-ie.css" />
<![endif]-->
<title></title>
。我试图编写我的IE版本,没有任何作用。我疯了。
这是代码。
{{1}}
请帮帮我。
答案 0 :(得分:1)
也许你忘记了href中的'css /'文件夹?
<link rel="stylesheet" type="text/css" href="css/movimentacao-ie.css" />
答案 1 :(得分:-2)
这应该有效,它将针对所有版本的IE。
<!--[if IE]>
<link href="ieOnlyStylesheet.css" />
<![endif]-->