【发布时间】:2012-09-24 04:25:19
【问题描述】:
大家好! 所以我在为朋友编写的这个网站上遇到了几个奇怪的仅限 IE 的错误。
The Website Link | Full CSS file
我使用的是 Google Webfont Raleway,字体大小:300,400,700,900。但是 IE 将所有字体粗细更改为 300,并且不使用任何其他字体。
感谢所有提示和反馈!
主要导航字体样式:
.nav_li {
float:left;
margin: 0;
list-style-type:none;
font-family: 'Raleway', sans-serif;
font-weight: 700;
line-height: 100px;
color: #fff;
cursor: pointer;
-webkit-transition: background .5s; -moz-transition: background .5s; -ms-transition: background .5s; transition: background .5s;
}
附上截图:
【问题讨论】:
-
我要说这是某种缓存问题。我在任何浏览器(包括 Internet Explorer)中都没有遇到该网站的问题。它们看起来几乎一模一样。 IE是什么版本的?
-
我有IE9,但是当我使用IE7和8文档模式时,它看起来像300版本的字体。我在 Windows 7 上,刚刚清除了我的 IE 缓存并且字体没有更新。
-
@David 您在 IE 中说它看起来不错?我刚刚注意到我的:CSS3117: font-face failed cross-origin request。资源访问受到限制。
-
我觉得它看起来不错,但后来我意识到我看错了部分,哈哈,之后我看到了导航的不同。
-
IE 出现“问题”是正常的,也是意料之中的。
标签: html css internet-explorer cross-browser webfonts