【发布时间】:2012-07-28 04:58:19
【问题描述】:
我试图让自定义字体“Duke-Fill”显示的网页是http://www.hamlinforcongress.com/helpout.php
我正在使用:
@font-face {
font-family: 'header_font';
src: url('Duke-Fill.eot?#iefix') format('embedded-opentype'),
url('Duke-Fill.woff') format('woff'),
url('Duke-Fill.ttf') format('truetype'),
url('Duke-Fill.svg#svgFontName') format('svg');
}
.header_font{
font-family: header_font;
}
我已经尝试了在 Internet 上可以找到的所有其他建议,但没有任何方法可以使自定义字体显示在 Internet Explorer 中。它在所有其他可以想象的浏览器中都能完美运行,但在 IE 中却不行(出乎意料)。帮忙?
【问题讨论】:
-
你能用开发者工具栏检查它给你什么错误吗?
标签: html css internet-explorer font-face custom-font