css字体问题在互联网浏览器 [英] css font issue in internet explorer

查看:122
本文介绍了css字体问题在互联网浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在CSS中使用以下代码来渲染字体,但它在IE中不起作用

I am using following code in CSS to render fonts, but it is not working in IE


@ font-face {font-家庭:BELOVED; src:url('font / BELOVED.TTF');}

@font-face{font-family: BELOVED; src: url('font/BELOVED.TTF');}

任何建议? $ b

推荐答案

你最好去fontsquirrel.com和搅拌一个@ font-face套件,以便获得最大的跨浏览器。保罗爱尔兰也有一个光滑的防弹跨浏览器的例子如何嵌入@ font-face正确。

you're better off going to fontsquirrel.com and whipping up an @font-face kit so you get maximum cross-browser. paul irish also has a slick bulletproof cross-browser example of how to embed @font-face correctly.

这篇关于css字体问题在互联网浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆