IE中的@ font-face问题
|
因此,我在自己的投资组合网站中使用@ 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
没有找到相关结果
已邀请:
1 个回复
澜悍景哭苟