使用CSS3 font-face问题。 [英] Use CSS3 font-face problem.
本文介绍了使用CSS3 font-face问题。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在css中使用css3 font-face查询在我的项目中集成了一些付费字体。它在IE8以外的所有浏览器中都能正常工作。原因是IE8不支持字体 - 面部查询(参考 - http://www.w3schools.com/css/css3_fonts。 asp [ ^ ])。或者可能有些问题....
我的CSS代码 -
I used css3 font-face query in my css to integrate some paid fonts in my project. It works fine in all browsers except IE8. The reason is IE8 does not support font-face query (Reference - http://www.w3schools.com/css/css3_fonts.asp[^]). Or may be some problem....
My CSS code -
@font-face {
font-family: 'Font1';
src: url('fonts/Font1-webfont.eot?') format('eot'),
url('fonts/Font1-webfont.woff') format('woff'),
url('fonts/Font1-webfont.ttf') format('truetype'),
url('fonts/Font1-webfont.svg#webfontdSscXrwb') format('svg');
font-weight: normal;
font-style: normal;
}
任何人都有这个问题的解决方案然后请帮助我。
Any one have solution for this problem then please help me.
推荐答案
将IE升级到版本9或更高版本。
upgrade the IE to version 9 or above.
这篇关于使用CSS3 font-face问题。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文