问题描述
以下字体声明在。
然而,在和 Google Chrome 但是,当我将声明更改为 它在IE 11中正常工作。 什么可能是这个问题? 它变得更加奇怪:当我将网站保存为一个 然后在css下面尝试 The following font declaration is not working in Internet Explorer 11. The text is displayed in It's working however in Mozilla Firefox, QupZilla and Google Chrome. But when I change the declaration to it's working in IE 11. What could be the problem? It gets even stranger: When I save the website as an Embed Google font on and then try below css 这篇关于IE 11不正确处理字体声明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
font:300 28px / 1.1em'Lora';
*。html
文件到我的本地光盘,字体显示正确。 :
< link href ='http://fonts.googleapis.com/css?family = Lora'rel ='stylesheet 'type ='text / css'>
.class {
font-family:'Lora',Arial,sans-serif;
font-weight:400;
font-size:28px / 1.1em;
}
font:300 28px/1.1em 'Lora', arial, sans-serif;
arial
instead of Lora
. Lora
is a Google Font.font:300 28px/1.1em 'Lora';
*.html
file to my local disc, the font is displayed correctly. :-(<head>
.<link href='http://fonts.googleapis.com/css?family=Lora' rel='stylesheet' type='text/css'>
.class{
font-family: 'Lora', Arial, sans-serif;
font-weight:400;
font-size:28px/1.1em;
}