相关疑难解决方法(0)

@ font-face适用于IE8但不适用于IE9

如上所述,虽然在IE8及以下的所有其他浏览器中显示良好,但我在IE9中没有显示@ font-face的问题.此外,在我的计算机上本地查看时,IE9会显示字体,而不是在完全显示时.

该网站是:

bigwavedesign.co.uk/gcc/gcc/

使用的代码是:

    @font-face {
                font-family: 'LeagueGothicRegular';
                src: url('league_gothic_0-webfont.eot');
                src: local('League Gothic Regular'), url('league_gothic_0-webfont.woff') format('woff'), url('league_gothic_0-webfont.ttf') format('truetype'), url('league_gothic_0-webfont.svg#webfonta36nFpyE') format('svg');font-weight: normal;font-style: normal;
}
Run Code Online (Sandbox Code Playgroud)

有人想知道为什么会这样吗?

干杯!

=============================================

编辑

我发现以下网站在IE9中显示相同的字体,任何想法他是如何做到的?

http://iamthomasbishop.com/

css internet-explorer embedded-fonts font-face

38
推荐指数
3
解决办法
9万
查看次数