我只在Firefox中遇到webfonts问题,所有其他浏览器(包括IE)都能正常工作。Firefox webfonts无法加载
我的问题是webfonts根本不会加载。
我已经看过这个可能的解决方案,编辑htaccess文件(http://www.fontsquirrel.com/blog/2010/11/troubleshooting-font-face-problems),但我没有运气。
,我唯一能说的另一件事是在Firefox的错误控制台,我得到以下警告:
Error in parsing value for "src". Skipped to the next declaration.
这里是我的font-face
代码示例:
@font-face {
font-family:AngelinaRegular;
src:url(../fonts/angelina-webfont.eot);
src:url(../fonts/angelina-webfont.eot?iefix) format(eot), url(../fonts/angelina-webfont.woff) format(woff), url(../fonts/angelina-webfont.ttf) format(truetype), url(../fonts/angelina-webfont.svg#webfontOvuhCGpN) format(svg);
font-weight:normal;
font-style:normal;
}
任何想法?
这正是它是什么,感谢您的帮助。 – user127181
**不要忘记在'format()'中添加引号!** :) – m93a