【问题标题】:responsive WP site not working in ie8响应式 WP 网站在 ie8 中不起作用
【发布时间】:2012-05-01 20:07:51
【问题描述】:

我有一个问题,ie8 无法正确显示网站,它似乎使用的是移动样式而不是浏览器样式。

我已经加载了 respond.js polyfill,但看起来它不起作用...

这里是在线网站 http://www.mediacake.net/cake123/ecomore/

原始模板有效,但 iv 主要对主页的布局进行了广泛的更改

http://demo2.woothemes.com/?name=shelflife

如果有人能帮忙,我将不胜感激

【问题讨论】:

  • 您是否使用 html shiv 来强制 IE 将您的 html5 标记识别为 div? code.google.com/p/html5shiv
  • 我之前没有使用过这个,但 iv 只是添加到标题中,没有任何改变......

标签: css wordpress internet-explorer-8 media-queries responsive-design


【解决方案1】:

您的页面包含以下内容...

<!--[if lt IE 8]>
<script src="http://www.mediacake.net/cake123/ecomore/wp-content/themes/shelflife/includes/js/respond-IE.js"></script>
<![endif]-->

如果你想让它在 IE8 中工作,它看起来不应该更像...

<!--[if lt IE 9]>
<script src="http://www.mediacake.net/cake123/ecomore/wp-content/themes/shelflife/includes/js/respond-IE.js"></script>
<![endif]-->

【讨论】:

    猜你喜欢
    • 2013-12-30
    • 1970-01-01
    • 1970-01-01
    • 2014-09-30
    • 1970-01-01
    • 2023-03-25
    • 2016-05-05
    • 2012-06-15
    • 2020-05-16
    相关资源
    最近更新 更多