摘要:[Responsive Web Design] 讓IE8以下版本支援響應式網頁設計(Responsive Web Design)
//Detect Browser version and Support IE
if(Request.Browser.Type.ToUpper().Contains("IE")){
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<script src="~/Content/html5shiv/js/html5shiv.min.js"></script>
<script src="~/Content/respond/js/respond.min.js"></script>
}
HTML5Shiv : 讓IE9以前的瀏覽器支援HTML5元素 (https://github.com/aFarkas/html5shiv)
Respond : (https://github.com/scottjehl/Respond)