【发布时间】:2011-10-20 14:59:25
【问题描述】:
可能重复:
css @font-face not working with Firefox, but working with Chrome and IE
我有一个小问题,似乎无法弄清楚解决方案是什么。
我使用Museo 作为网络字体。在Safari 中,一切都像魅力一样,但在Firefox 中,它不起作用。
有人知道为什么吗?
@font-face {font-family: 'MuseoSans-500';
src: url('webfonts/eot/style_159303.eot');
src: url('webfonts/eot/style_159303.eot?#iefix') format('embedded-opentype'),
url('webfonts/woff/style_159303.woff') format('woff'),
url('webfonts/ttf/style_159303.ttf') format('truetype'),
url('webfonts/svg/style_159303.svg#MuseoSans-500') format('svg');}
【问题讨论】:
-
你已经看过这个了吗? stackoverflow.com/questions/2856502/…
-
如果没有看到您的实际页面,很难说任何有用的东西。您的 CSS 是否在
@media规则中?字体文件是否被巧妙地破坏以致 Firefox 中的 OpenType 清理程序拒绝它?