【发布时间】:2011-06-14 20:08:07
【问题描述】:
所以我在我的作品集网站上使用了@font-face,在 Chrome、Firefox 和 Safari 中一切正常 - 但 IE 证明是个问题。
以下在我的 CSS 文件中;
@font-face {
font-family:"League"
src: url('sources/League_Gothic.otf')format('opentype');
}
然后对于 IE,我在主 HTML 页面上有以下内容。
<!--[if IE]>
<style type="text/css" media="screen">
@font-face{
font-family:'League';
src: url('sources/league_gothic-webfont.eot');
}
</style>
<![endif]-->
我从 Font Squirrel 上的 .oft 文件创建了 .eot 文件,但 IE 继续只使用默认的 Times New Roman。
有什么建议吗?
PS。我的网站位于 iamturner.co.uk
【问题讨论】:
标签: internet-explorer font-face