本文介绍了自定义字体,EOT,不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我无法在IE7和IE8中使用自定义字体:
I cant get my custom fonts to work in IE7 and IE8:
i-creative.dk/iJob/
它在IE9,Firefox和Chrome中正常运行...
It works fine in IE9, Firefox and Chrome...
对于Firefox和Chrome,字体为TTF对于IE,它在EOT中
For Firefox and Chrome the fonts are in TTF And for IE, it's in EOT
但是,它仅在IE9中有效:(
However, it only works in IE9 :(
推荐答案尝试改用此CSS格式:
Try this css formatting instead:
@font-face { font-family: 'fontName'; src: url('/path/to/font.eot?') format('eot'), url('/path/to/font.otf') format('otf'), url('/path/to/font.ttf') format('truetype'); }这就是我使用的(代替otf,woff和svg).而且我从未有任何IE无法呈现字体.
This is what I use (sans the otf, woff & svg instead). and I have never had any of the IE's not render the font.
更多推荐
自定义字体,EOT,不起作用
发布评论