繁体   English   中英

网站将不会显示在Internet Explorer 7和8中

[英]Website will not display in Internet Explorer 7 and 8

我的第一个响应式网站经过验证,可以与所有浏览器一起使用,并且在装有IE7的计算机上本地运行时可以正常显示,但在实时运行时无法在IE 7或8上运行。

该网站的前2行在那里,但没有其他任何显示,我尝试使用response / s.js,但我认为这是我的链接存在问题。

可以在[此处]查看该网站的重新制作版本,如果有人可以帮助它,将非常感激。

 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>Urban Dreamscapes &#151; Web Design and Development for Fun</title> <meta name="description" content= /> <meta name="keywords" content="" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="stylesheet" href="css/style.css" type="text/css" media="screen, all" /> <!--[if lt IE 9]> <link rel="stylesheet" href="css/ie.css" type="text/css" media="screen, all" /> <script src="scripts/css3-mediaqueries.min.js"></script> <script src="scripts/html5shiv.min.js"></script> <![endif]--> </head> 

当您在IE7 / 8中加载html5shiv js库时,您的页面中断,在我的情况下,该页面无响应。

在包含html5shiv.js之前,尝试将所有要添加到“ shiv”的元素添加到其中。

window.html5 = {
  'elements': abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video' 
};

从您呈现的标记中,我看到了hgroup,页眉和页脚。 最好包括所有内容,但要确保

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM