您好,非常感谢您对我的问题的帮助。以下是事实:
网址是www.thecloudz.net,关于顶部的导航链接,字体名为brooklyn。URL上的字体在Safari和Chrome中正确显示,但在Firefox中不正确。我被告知我可能安装了一个干扰font-face的插件。
URL的字体设置如下所示,“岩盐”是FF中显示的默认字体,但根据下面的代码,它应该首先显示brooklyn。为什么它可以在除了Firefox之外的所有浏览器上运行?如果可以,请帮助我,谢谢!
`/* CHANGES FONT FOR NAVIGATION */
@font-face {
font-family: brooklyn;
src: url('http://thecloudz.net/files/BROOKLYN.eot');
src: url('http://thecloudz.net/files/BROOKLYN.eot?#iefix') format('embedded- opentype'),
url('http://thecloudz.net/files/brooklyn.woff') format('woff'),
url('http://thecloudz.net/files/BROOKLYN.TTF') format('truetype');
}
#navigation ul li a {
font-family: brooklyn, 'rock salt', serif;
font-size: 1.3em;
padding-top: 7px;
height: 50px;
}`发布于 2013-02-01 23:31:48
Firefox执行同源策略。
http://thecloudz.net/和http://www.thecloudz.net/是不同的。
https://stackoverflow.com/questions/14640041
复制相似问题