网站将不会在 Internet Explorer 7 和 8 中显示
Website will not display in Internet Explorer 7 and 8
我的第一个响应式网站经过验证,适用于所有浏览器,并且在装有 IE7 的机器上本地运行时显示正常,但在实时运行时无法在 IE 7 或 8 上运行。
网站的前 2 行在那里,但没有其他内容出现,我尝试使用 respond/s.js,但我认为这是我的链接的问题。
可以看到该站点的重制版本 [here],如果有人能提供帮助,我们将不胜感激。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Urban Dreamscapes — 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、页眉和页脚。最好包括所有内容,但只是为了确保
我的第一个响应式网站经过验证,适用于所有浏览器,并且在装有 IE7 的机器上本地运行时显示正常,但在实时运行时无法在 IE 7 或 8 上运行。
网站的前 2 行在那里,但没有其他内容出现,我尝试使用 respond/s.js,但我认为这是我的链接的问题。
可以看到该站点的重制版本 [here],如果有人能提供帮助,我们将不胜感激。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Urban Dreamscapes — 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、页眉和页脚。最好包括所有内容,但只是为了确保