Google网络字体在IE8中无法使用 [英] Google Web Fonts don't work in IE8
本文介绍了Google网络字体在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'>
删除其他字体后: strong>
After removing the other fonts it worked:
<link href='http://fonts.googleapis.com/css?family=IM+Fell+English+SC|Montez' rel='stylesheet' type='text/css'>
这篇关于Google网络字体在IE8中无法使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文