我的网站需要从7开始才能在所有版本的Internet Explorer中使用。问题是当我在ie 11上模仿该网站并注意到它在版本10和9上工作正常,但它给我一个问题,即8及以下。我已经包含了respond.js,html5shiv.js和css3-mediaqueries_src.js。但它仍然无法奏效。我将包含我的头部内容供您验证。
<head>
<meta charset="utf-8">
<!--[if lt IE 9]>
<meta http-equiv="X-UA-Compatible" content="IE=IE8" />
<![endif]-->
<!--[if gt IE 8]>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>TEST</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" media="all" href="simple.css" />
<link rel="stylesheet" media="screen and (min-width:801px)" href="complex.css" title="complex layout" />
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="css/font-awesome.css">
<link href="css/jquery-ui.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" href="css/flexslider.css" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Dancing+Script:700|Montserrat:400,700' rel='stylesheet' type='text/css'>
<script src="js/jquery.min.js"></script>
<script src="js/jquery.flexslider.js"></script>
<script src="js/jquery-ui.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/html5shiv.js"></script>
<script src="js/respond.min.js"></script>
<script src="js/css3-mediaqueries_src.js"></script>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<script src="js/respond.min.js"></script>
<script src="js/css3-mediaqueries_src.js"></script>
<![endif]-->
<style>
.readonly{
width: 50px;
text-align: center;
background-color: #eee;
border: 1px solid #A9A9A9;
}
</style>
</head>