【问题标题】:IE document mode 8 or below is not compatible with .svg image typeIE 文档模式 8 或以下不兼容 .svg 图像类型
【发布时间】:2015-07-16 01:51:03
【问题描述】:

我有一个文档必须兼容 IE 文档模式 8。html 文档有以下行

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

现在我有一个 .svg 图像,我使用 css 文件显示如下,

background: url('../images/iPhoneAppStoreLogo.svg') no-repeat 0 0;

但是这个图片在 IE Document mode 8 下不显示(图片在 IE Document mode 9 及以上显示)。我看到解决方案说要增加模式,但我的应用程序也需要支持 IE Document mode 8。那么有没有办法解决这个问题

提前致谢

【问题讨论】:

标签: html css svg internet-explorer-8 compatibility


【解决方案1】:

已知 IE 与 .svg 存在一些问题。 建议在使用 .svg 时使用回退 检查此tutorial,将对您有很大帮助。

【讨论】:

  • 感谢教程链接,但我试图显示的图像是应用商店徽标,出于法律原因,我只能使用该特定 SVG 图像。所以我不能通过改变格式或类似的解决方案来使用它。更多信息可以在这里找到developer.apple.com/app-store/marketing/guidelines/…
猜你喜欢
  • 2011-10-02
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2013-05-13
  • 1970-01-01
  • 2023-03-24
  • 1970-01-01
  • 2011-05-15
相关资源
最近更新 更多