gmail不支持html格式,html – Web字体无法应用于浏览器上的新闻通讯(GMAIL,Yahoo Mail,Outlook,Hotmail等)...

我有一个时事通讯,我使用网络字体Proxima Nova Extra Bold和Proxima Nova Alt Regular.当我在浏览器上打开简报布局时,所有文本的字体都显示正常.但是,当在Gmail或Yahoo或其他邮件客户端中打开相同的新闻稿时,该字体不会应用于文本.

Broswer Layout屏幕截图(字体看起来很完美):3x04N.png

Gmail布局屏幕截图(未采用字体):ooDSi.png

这是我将字体应用于新闻稿文件的方式:

内部< head>标签 :

@import url("http://serverdomainname/emailtemplatefonts.css");

body{font-family:ProximaNova-AltRegular !important;}

通过内联css设计样式

Discover attractions,restaurants,nightlife,and accomodations around the world. Use specialized filters in your search to find free museums,family friendly restaurants,weird and wonderful hotels,and much more.

这是包含的字体文件的CSS:

@font-face {font-family: 'ProximaNova-AltRegular';

font-weight: normal;font-style: normal;

src: url('http://sitedomain.com/assets/fonts/proxima_nova_alt/ProximaNovaAltRegular.woff2') format('woff2');}

@font-face {font-family: 'ProximaNova-Extrabold';

font-weight: normal;font-style: normal;

src: url('http://sitedomain.com/assets/fonts/proxima_nova_bold/ProximaNovaExtrabold.woff2') format('woff2');}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值