求让所有浏览器支持微软雅黑的方法_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 09:47:19
Original
1595 people have browsed it

浏览器 字体

在做一个网站,要求所有浏览器都是微软雅黑,可是有的电脑里压根就没雅黑,求解决办法谢谢了

回复讨论(解决方案)

参考
http://dctxf.lofter.com/post/3d174_f4e29

参考
http://dctxf.lofter.com/post/3d174_f4e29
那个一个雅黑字体十几兆,可行吗?

中文字体不建议用服务器字体,太大了

那怎么解决。。。求前端大神

勿喷、。
应该多用常用字体。。
不然你知道Linux和MAC上会有微软雅黑么?

不太现实。一个几KB的网页,你还要从服务器加载个几M的字体?

如果这是个别展示的地方需要用到   就用图片吧。。。
全局的话  一般都是服务器加载过来

如果这是个别展示的地方需要用到   就用图片吧。。。
全局的话  一般都是服务器加载过来
不会是把整个字体库全部加载吧?

勿喷、。
应该多用常用字体。。
不然你知道Linux和MAC上会有微软雅黑么?
要求是要雅黑,偶也没办法

如果只是小面积文字的话,用图片吧。

不现实 放弃吧 .. 

因为我遇到过类似的问题- -后来我就放弃了来着

哈,学一下当年QQ的表情字体.把每个字做一成一个图片,然后

建议使用font-family:"Microsoft YaHei";由于xp不支持,so,个人觉得不必考虑,,,再就是使用css3的属性,font-face,这个是兼容ie的,http://www.cnblogs.com/rubylouvre/archive/2011/06/19/2084875.html,看看链接里面的文章,,,最蠢的方法那就是切图了

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!