【发布时间】:2012-12-14 22:13:16
【问题描述】:
我的一个网站的 font-squirell 生成的 @font-face 代码有问题。该字体在 Internet Explorer 7 中不显示。在其他浏览器中它运行良好。 地址是:http://www.mrsherskin.com
@font-face {
font-family: 'PFRondaSeven';
src: url('font/pf_ronda_seven-webfont.eot');
src: url('font/pf_ronda_seven-webfont.eot?iefix') format('eot'),
url('font/pf_ronda_seven-webfont.woff') format('woff'),
url('font/pf_ronda_seven-webfont.ttf') format('truetype'),
url('font/pf_ronda_seven-webfont.svg#webfont7vFUbybx') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'PFRondaSeven';
src: url('font/pf_ronda_seven_bold-webfont.eot');
src: url('font/pf_ronda_seven_bold-webfont.eot?iefix') format('eot'),
url('font/pf_ronda_seven_bold-webfont.woff') format('woff'),
url('font/pf_ronda_seven_bold-webfont.ttf') format('truetype'),
url('font/pf_ronda_seven_bold-webfont.svg#webfont2zOjOL6G') format('svg');
font-weight: bold;
font-style: normal;
}
/* basic font-set */
body { font-family: 'PFRondaSeven'; font-size-adjust: 0.62; }
这很奇怪,因为我有另一个网站是用这种方法制作的,而且效果很好。
有什么帮助吗?可能是什么问题?
【问题讨论】: