您好,非常感谢您对我的问题的任何帮助。 以下是事实:
URL是 www.thecloudz.net 的,关于最顶部的导航链接,字体称为布鲁克林。 URL 上的字体在 Safari 和 Chrome 中正确显示,但在 Firefox 中显示不正确。 有人告诉我,我可能安装了一个干扰字体的插件。
URL的字体设置如下,"岩盐"是FF中显示的默认字体,但根据下面的代码,它应该首先显示布鲁克林。 为什么它适用于除火狐之外的所有浏览器? 如果可以的话,请帮忙,谢谢!
`/* 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;
}`
Firefox 强制执行同源策略。
http://thecloudz.net/
和http://www.thecloudz.net/
是不一样的。