2014-09-01 48 views
1

我在本地添加了一些字体,它工作正常。但是,当我在html页面上使用我服务器上的字体时,它不起作用。一些字体是 FONT-FAMILY: 'SWIS721道道BT',FONT-FAMILY: 'SWIS721马里兰州BT'字体系列不能在服务器上工作

也看见我呼吁使用的字体

<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> 

请帮的代码,为什么它不工作。由于我没有太多关于如何在服务器上实现字体的想法

+1

你在相同的设备/ PC上查看它们吗?您正在查看该页面的设备上是否有可用的字体? – GolezTrol 2014-09-01 11:54:53

+0

http://css-tricks.com/snippets/css/using-font-face/ – melancia 2014-09-01 11:56:02

+0

您是否使用@ font-face将字体导入到您的css代码中? – gioNicol 2014-09-01 11:56:30

回答

0

您的电脑已安装您使用过的字体。但网络服务器没有它。为什么使用@fontface每个字体问题都解决了。您也可以使用google font

Convert Your font Here

相关问题