谷歌网络字体在 IE8 中不起作用 [英] Google Web Fonts don't work in IE8
本文介绍了谷歌网络字体在 IE8 中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我用它来链接到一些 Google 字体:
I'm using this to link to some Google Fonts:
<link href='http://fonts.googleapis.com/css?family=IM+Fell+English+SC|Snippet|Sarina|Crushed|Caesar+Dressing|Montez|Bad+Script|Sofia|Fontdiner+Swanky|Just+Me+Again+Down+Here|Voltaire|Geo|Coming+Soon|Wellfleet|Passion+One|Rock+Salt|Homemade+Apple|Meddon|Rosario' rel='stylesheet' type='text/css'>
我正在使用此代码,它适用于某些浏览器:
I'm using this code, which works in some browsers:
<span style="font-size: 110px;font-family:montez;"><b>Abcdefg</b></span>
为什么字体没有出现在IE8中?http://jsfiddle.net/3NbE5/
Why doesn't the font doesn't appear in IE8? http://jsfiddle.net/3NbE5/
推荐答案
好像IE不支持href中的多种字体:
http://jsfiddle.net/3NbE5/3/
It seems that IE doesn't support multiple fonts in the href:
http://jsfiddle.net/3NbE5/3/
你有这个href:
<link href='http://fonts.googleapis.com/css?family=IM+Fell+English+SC|Snippet|Sarina|Crushed|Caesar+Dressing|Montez|Bad+Script|Sofia|Fontdiner+Swanky|Just+Me+Again+Down+Here|Voltaire|Geo|Coming+Soon|Wellfleet|Passion+One|Rock+Salt|Homemade+Apple|Meddon|Rosario' rel='stylesheet' type='text/css'>
删除其他字体后,它起作用了:
<link href='http://fonts.googleapis.com/css?family=IM+Fell+English+SC|Montez' rel='stylesheet' type='text/css'>
这篇关于谷歌网络字体在 IE8 中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文