相关疑难解决方法(0)

如何让Google字体在IE中运行?

我一直在开发一个使用Google Fonts API的网站.它很棒,据说已经在IE中测试过,但是在IE 8中进行测试时,字体根本就没有被设计样式.

我按照Google的指示包含了字体,因此:

<link href="http://fonts.googleapis.com/css?family=Josefin+Sans+Std+Light"  
 rel="stylesheet" type="text/css" />
Run Code Online (Sandbox Code Playgroud)

并在CSS中将其名称添加到字体系列的前面:

body {
font-family: "Josefin Sans Std Light", "Times New Roman", Times, serif;
font-size: 16px;
overflow-y: scroll;
overflow-x: hidden;
color: #05121F;
}
Run Code Online (Sandbox Code Playgroud)

就像Chrome,Firefox,Safari中的魅力一样.IE 8中没有骰子.任何人都知道为什么?

css internet-explorer webfonts google-webfonts

67
推荐指数
4
解决办法
14万
查看次数