我使用Open Sans Light在IE和Chrome上显示html页面没有问题,但是在使用Firefox时,它不理解这种类型的字体.
这是定义我的字体的.css部分:
.txtName
{
margin-left: 18px;
font-size: 20px;
color: #0140be;
font-family: 'Open Sans Light' !important;
font-weight:normal;
line-height: 1.4em;
}
Run Code Online (Sandbox Code Playgroud)
这是html文件中需要在IE,Chrome和FF上显示相同的部分:
<div class="txtName-Main">
<h1 class="txtName">Your pathway to success starts here</h1>
</div>
Run Code Online (Sandbox Code Playgroud)
可能是什么问题?
谢谢