[英]Font family is not working on server
I have added some fonts on my local and it is working fine. 我在本地添加了一些字体,并且工作正常。 But When I same use that fonts on my server in html pages, It is not working.
但是,当我在html页面中的服务器上同样使用该字体时,它不起作用。 Some of the fonts are font-family:'SWIS721 Cn BT', font-family:'SWIS721 Md BT'
一些字体是字体家族:'SWIS721 Cn BT',字体家族:'SWIS721 Md BT'
Also see the code which I call for using the fonts 另请参阅我要求使用字体的代码
<tr>
<td>
<img src="http://www.rblbank.com/images/Emailer/Travel-Mailer/Travel-final-mailer-2/3.png" class="logo4" alt="dfsds" />
</td>
</tr>
<tr>
<td style="font-size: 13px; color: #2c387c; padding-left: 41px; line-height: 1.5em; font-family: 'SWIS721 Cn BT'; word-spacing: -2px; height: 60px; text-align: left;">
What's more, you can convert your travel expenses greater than Rs. 5000
<br />
into easy monthly installments with RBL Bank
<img src="http://www.rblbank.com/images/Emailer/Travel-Mailer/Travel-final-mailer-2/5.png" class="logo6" alt="dfsds" style="vertical-align: middle;" />
</td>
</tr>
Please help, why it is not working. 请帮忙,为什么它不起作用。 As I dont have much Idea about how to implement fonts on Server
由于我对如何在服务器上实现字体没有太多想法
Your PC has install your used font. 您的PC已安装您使用的字体。 But the webserver has not it.At this why use @fontface every font problem is solved.
但是网络服务器没有它。这就是为什么使用@fontface解决每个字体问题的原因。 You also can use the google font also.
您还可以使用Google字体 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.