Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/34.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 字体不会显示在Mac safari 7中_Html_Css_Macos_Fonts_Safari - Fatal编程技术网

Html 字体不会显示在Mac safari 7中

Html 字体不会显示在Mac safari 7中,html,css,macos,fonts,safari,Html,Css,Macos,Fonts,Safari,我正在使用字体将富兰克林哥特式书籍常规嵌入我的网站。该字体在windows firefox、chrome和safari中显示,但在mac safari 7中不可见(我正在通过saucelabs进行测试)。这是我的字体代码: @font-face { font-family: 'franklin_gothic_bookregular'; src: url('../fonts/franklin_gothic_book-webfont.eot'); src: local('franklin gothi

我正在使用
字体将
富兰克林哥特式书籍常规
嵌入我的网站。该字体在windows firefox、chrome和safari中显示,但在mac safari 7中不可见(我正在通过saucelabs进行测试)。这是我的字体代码:

@font-face {
font-family: 'franklin_gothic_bookregular';
src: url('../fonts/franklin_gothic_book-webfont.eot');
src: local('franklin gothic book regular'), url('../fonts/franklin_gothic_book-webfont.eot?#iefix') format('embedded-opentype'),  url('../fonts/franklin_gothic_book-webfont.woff') format('woff'),  url('../fonts/franklin_gothic_book-webfont.ttf') format('truetype'),  url('../fonts/franklin_gothic_book-webfont.svg#franklin_gothic_bookregular') format('svg');
font-weight: normal;
font-style: normal;
}

我做错了什么?如果您想查看,请访问以下网站:。提前感谢。

您似乎只使用这种字体致电本地src。。。如果你删除了它,它能工作吗?不。我试过本地的,因为我在博客上看到它对mac有效,但对我无效!!:'(我正在使用Mac Safari 7.0.2,它适合我。