我正在使用它链接到一些Google字体:
<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'>
我正在使用这个代码,这在一些浏览器中有效:
<span style="font-size: 110px;font-family:montez;"><b>Abcdefg</b></span>
为什么IE8中没有出现字体? http://jsfiddle.net/3NbE5/
解决方法
看来IE在href中不支持多种字体:
http://jsfiddle.net/3NbE5/3/
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'>