资源管理器中的页面 < 8 由于某种原因没有被设计

发布于 2024-10-16 14:55:40 字数 1591 浏览 3 评论 0 原文

我正在结合 ie7.js 脚本(启用 html5 样式支持)以 HTML5 样式部分设置页面。它之前完美无缺工作,但现在我使用相同的设置,网站 在 IE6/7 中出现,无样式。我已经忙了好几天了,却找不到原因。任何人都能够找出问题所在吗?

这是我的想法:

<!--[if lt IE 9]><script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script><![endif]--> 

<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="stylesheet" type="text/css" media="all" href="http://zzappservices.nl/wordpress/wp-content/themes/zzapp/style.css" />
<link rel="shortcut icon" type="image/x-icon" href="http://zzappservices.nl/wordpress/wp-content/themes/zzapp/favicon.ico" />

<!-- Scripts, CSS and settings specific targeted to Internet Explorer -->
<!--[if lt IE 9]><link rel="stylesheet" href="http://zzappservices.nl/wordpress/wp-content/themes/zzapp/css/ie.css" type="text/css" /><![endif]--> 
<!--[if IE 6]><link rel="stylesheet" href="http://zzappservices.nl/wordpress/wp-content/themes/zzapp/css/ie6.css" type="text/css" /><![endif]--> 

<!--[if IE]>
<link href="http://zzappservices.nl/wordpress/wp-content/themes/zzapp/css/ie.css" media="screen, projection" rel="stylesheet" type="text/css" />
<meta http-equiv="Page-Enter" content="progid:DXImageTransform.Microsoft.Fade(Duration=0.0001)">
<meta http-equiv="Page-Exit" content="progid:DXImageTransform.Microsoft.Fade(Duration=0.0001)">
<![endif]-->

该页面在 webkit/mozilla 浏览器中完美运行。

I am setting up a page partly in HTML5 styling in combination with the ie7.js script (which enables html5 styling support). It worked before flawlessly, but now I'm using the same setup, the website comes up in IE6/7 unstyled. I've been busy with it now for days and cannot find out why. Anyone that is able to find out what's wrong?

This is my head:

<!--[if lt IE 9]><script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script><![endif]--> 

<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="stylesheet" type="text/css" media="all" href="http://zzappservices.nl/wordpress/wp-content/themes/zzapp/style.css" />
<link rel="shortcut icon" type="image/x-icon" href="http://zzappservices.nl/wordpress/wp-content/themes/zzapp/favicon.ico" />

<!-- Scripts, CSS and settings specific targeted to Internet Explorer -->
<!--[if lt IE 9]><link rel="stylesheet" href="http://zzappservices.nl/wordpress/wp-content/themes/zzapp/css/ie.css" type="text/css" /><![endif]--> 
<!--[if IE 6]><link rel="stylesheet" href="http://zzappservices.nl/wordpress/wp-content/themes/zzapp/css/ie6.css" type="text/css" /><![endif]--> 

<!--[if IE]>
<link href="http://zzappservices.nl/wordpress/wp-content/themes/zzapp/css/ie.css" media="screen, projection" rel="stylesheet" type="text/css" />
<meta http-equiv="Page-Enter" content="progid:DXImageTransform.Microsoft.Fade(Duration=0.0001)">
<meta http-equiv="Page-Exit" content="progid:DXImageTransform.Microsoft.Fade(Duration=0.0001)">
<![endif]-->

The page works perfect in webkit/mozilla browsers.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

-残月青衣踏尘吟 2024-10-23 14:55:40

您可能遇到的一个问题是,如果 IE <<,您的 CSS 样式表应该包含在内。 9 不在那里。尝试访问: http://zzappservices.nl/wordpress/wp -content/themes/zzapp/css/ie.css 你会得到一个空白页面。

看来 IE 6 样式表也不存在。如果允许,您应该将这些文件复制到本地以确保站点的可靠性。

One problem you might be having is due to the fact that your CSS stylesheet that is supposed to be included if IE < 9 is not there. Try visiting: http://zzappservices.nl/wordpress/wp-content/themes/zzapp/css/ie.css and you'll get a blank page.

It appears the IE 6 stylesheet is also not present. If allowed, you should be copying these files locally for your site for reliability.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文