http://fwy.pagodabox.comCSS @字体面绝对URL:字体不会在Firefox加载
http://friends-with-you.myshopify.com/
我有我的字体和CSS托管的pagodabox.com服务器上,并正在开发店里部分shopify。我想使用pagodabox托管网站的相同样式表作为shopify网站。但我的字体不在Firefox中加载,版本13.0.1
FF或我的语法有问题吗?谢谢!!!
@font-face {
font-family:'IcoMoon';
src:url('http://fwy.pagodabox.com/magic/themes/fwy/assets/fonts/IcoMoon.eot');
src:url('http://fwy.pagodabox.com/magic/themes/fwy/assets/fonts/IcoMoon.eot?#iefix') format('embedded-opentype'), url('http://fwy.pagodabox.com/magic/themes/fwy/assets/fonts/IcoMoon.svg#IcoMoon') format('svg'), url('http://fwy.pagodabox.com/magic/themes/fwy/assets/fonts/IcoMoon.woff') format('woff'), url('http://fwy.pagodabox.com/magic/themes/fwy/assets/fonts/IcoMoon.ttf') format('truetype');
font-weight:normal;
font-style:normal;
}
@font-face {
font-family:'square';
src:url('http://fwy.pagodabox.com/magic/themes/fwy/assets/fonts/SquareSerif-Light-webfont.eot');
src:url('http://fwy.pagodabox.com/magic/themes/fwy/assets/fonts/SquareSerif-Light-webfont.eot?#iefix') format('embedded-opentype'), url('http://fwy.pagodabox.com/magic/themes/fwy/assets/fonts/SquareSerif-Light-webfont.woff') format('woff'), url('http://fwy.pagodabox.com/magic/themes/fwy/assets/fonts/SquareSerif-Light-webfont.ttf') format('truetype'), url('http://fwy.pagodabox.com/magic/themes/fwy/assets/fonts/SquareSerif-Light-webfont.svg#SquareSerifLightRegular') format('svg');
font-weight:normal;
font-style:normal;
}
超级。谢谢! – 2012-07-23 17:19:30
如果您想要在nginx上实现相同的解决方案,请按照此说明操作:http://serverfault.com/questions/162429/how-do-i-add-access-control-allow-origin-in-nginx – 2013-02-05 16:46:02
“您不能在Firefox中使用@ font-face,而托管在其他域中的字体“。为什么Google字体提供的字体在Firefox下工作?这是否意味着除了重新配置服务器之外还有其他工作? – artfulrobot 2013-12-23 12:57:21