为了账号安全,请及时绑定邮箱和手机立即绑定

英文网站css 已经设置设置了字体和字号,但是表现形式和设计稿不一样?

英文网站css 已经设置设置了字体和字号,但是表现形式和设计稿不一样?

慕盖茨4494581 2019-03-21 22:19:40
<div class="fl contain_text_l">                <p>CHINASHOP, supported by China Chain Store &amp; Franchise Association a solely Chinese national retail organization, has been bringing cutting-edge technologies and brand new solutions to the retail industry for 20 consecutive years ever since it was established in 1999. A wide range of technologies and solutions that we have contributed to the commercial design and POP display, intelligent science and technology for retailing business, cold-chain logistics and equipment, as well as the featured merchandise at home and overseas. Serving as a display platform for the Chinese new retail, we have not merely enchanted a large aggregation of the Chinese mainstream retail enterprises but helped construct the bridge between the global retail industry and the Chinese new retail.</p></div>css 是    .contain_text_l{width:640px;}   .contain_text p{color: #3e3a39;font-size: 16px;font-family:                 "HiraginoSansGBW3";margin:70px 0 0 0;line-height: 30px;word-spacing:5px;text-align: justify;}
查看完整描述

1 回答

?
拉丁的传说

TA贡献1789条经验 获得超8个赞

很可能是在ps中用的字体,并没有在电脑的操作系统中安装过,所以网页无法识别HiraginoSansGBW3 这个字体,就用了默认字体。

要验证这一点也简单,换个网页常用的字体上去,看看是否一致,起码证明了并非代码写错了。

如果一定要实现ps中的字体效果,需要想办法实现,当一个用户打开网站时,自动给用户的电脑安装字体,让网页可以识别。或者,让ued妥协,用常用的字体。再或者,这段效果只是一小部分的话,直接截图吧。


查看完整回答
反对 回复 2019-04-14
  • 1 回答
  • 0 关注
  • 327 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号