【问题标题】:Why don't my links show up in IE 9?为什么我的链接不显示在 IE 9 中?
【发布时间】:2012-01-10 16:38:34
【问题描述】:

为什么我的链接在 IE 9 中不显示?

http://uk2canadapensiontransfers.com/index.php

如果您不想查看该网站,可以直接转到样式表...

http://uk2canadapensiontransfers.com/css/style.css

其他任何 IE 均未出现此问题。

【问题讨论】:

  • 哪些链接?你试过检查 dom 吗?
  • 似乎都是链接。什么在检查 dom?
  • 按 f12。访问开发者工具。
  • 这是一个 Cufon 问题。请参阅下面的答案。

标签: html css cross-browser internet-explorer-9


【解决方案1】:

查看样式表底部以查找和删除

<!--[if IE 9]>
a{color:black;}
<![endif]-->

【讨论】:

  • 该代码是该问题的尝试解决方案,在我添加之前就存在。
【解决方案2】:

由于某种原因,Cufon 在 IE9 中不起作用。下载更新的版本“应该”解决您的问题,但我个人会使用 Google 字体。

您也可以尝试以下任一方法:

<!--[if gte IE 9]>
<script type="text/javascript">
Cufon.set('engine', 'canvas');
</script>
<![endif]-->

强制 IE 呈现为旧版本

<meta http-equiv="X-UA-Compatible" content="IE=8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2011-02-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-12-12
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多