html - Font Face 不适用于 Internet Explorer 10.. 为什么?

标签 html css fonts

谁能告诉我为什么 Internet Explorer 没有选择我在下面指定的字体:

http://www.droneboylaundry.com/homepage

我已经看了将近一个小时了……非常感谢任何帮助!

@font-face {

font-family: 'BertholdAkzidenzGroteskCondensed';


src: url('http://www.droneboylaundry.com/fonts/akzidenzgroteskbe-cn.eot');


src: url('http://www.droneboylaundry.com/fonts/akzidenzgroteskbe-cn.eot') format('embedded-opentype');

   src:  url('http://www.droneboylaundry.com/fonts/akzidenzgroteskbe-cn.woff') format('woff');


   src:  url('http://www.droneboylaundry.com/fonts/akzidenzgroteskbe-cn.ttf') format('truetype');


   src:  url('http://www.droneboylaundry.com/fonts/akzidenzgroteskbe-cn.svg#BertholdAkzidenzGroteskCondensed') format('svg');

最佳答案

试试这个:

  1. 下载这些字体文件并将它们托管在您自己的服务器上(如果尚未这样做的话)
  2. 像这样使用它们的相对引用

src: url('/fonts/akzidenzgroteskbe-cn.ttf') format('truetype');

关于html - Font Face 不适用于 Internet Explorer 10.. 为什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17480495/

相关文章:

javascript - 计算没有名称或 ID 的通用 DIV 标签

html - 菜单项不会下推旁边的菜单

CSS 显示 : table or display:table-cell img in safari and internt explorer

fonts - 根据另一个字段更改SSRS中值字符串中特定值文本颜色的表达式

html - 如果我使用的是 googleFonts 中不存在的自定义字体,我应该给每个字体系列一个不同的名称吗?

swift - 如何更改 NSTableHeaderCell 的字体大小

javascript - jQuery val() 不更新 .html() 中的值

带有自定义消息的 HTML5 输入验证

html - 如何在960gs的导航器中显示网格?

html - 将内部样式转换/重定向到外部样式