【发布时间】:2014-02-08 21:54:40
【问题描述】:
看了很多教程,很多网站,还是没有找到解决办法... 我正在为我的网站使用自定义字体...我尝试的最后一件事是 Paul Irish's method,但它仍然无法在 Firefox 26 上运行。这是我在我的 css 文件中的内容:
@font-face
{
font-family: 'Logo';
src: url('mohave-semibold_italics-webfont.eot');
src: url('mohave-semibold_italics-webfont.eot?#iefix') format("embedded-opentype"),
url('mohave-semibold_italics-webfont.woff') format("woff"),
url('mohave-semibold_italics-webfont.ttf') format("truetype"),
url('mohave-semibold_italics-webfont.svg#mohavesemibold_italic') format("svg");
font-weight: normal;
font-style: normal;
}
我已经尝试了很多东西,目前我的字体与我的 css 文件位于同一目录中。如果有人有解决方案,请帮助我:)
谢谢
注意:该网站不在服务器上,它在我的文件系统上都是本地的(目前)
【问题讨论】:
-
数据不足。字体是从哪里来的,你是怎么生成字体文件的,浏览器控制台的网络面板说什么等等?
标签: html css firefox font-face