CSS文件不能在Firefox中加载/显示 [英] CSS file not loading / displaying in Firefox
问题描述
我在首次创建了一个小页面网站.. 。 我做了一些研究&已经检查/修改了以下内容: ..但仍然没有运气,下面是链接到css&它也住在 http://www.louisetiernan.com 所有帮助非常感谢。谢谢。 你的CSS中有错别字。超过第一个错字的所有内容都不会执行: 添加 c $ c>'在url参数中。 I'm creating a small one page website ..for the first time in quite a while.
It works fine on chrome & safari across desktop, tablet & phone but on Firefox (v20 for mac os) the CSS does not load (locally or online). I have done some research & have checked / amended the following: .. but still no luck, below is the line of code linking to the css & it is also live on http://www.louisetiernan.com All help very much appreciated. Thanks. You have typos in your CSS. Everything beyond the first typo is not executed: What you have: Add the You forgot 2 instances of the closing 这篇关于CSS文件不能在Firefox中加载/显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
它在Chrome&桌面,平板电脑和桌面上的Safari浏览器手机,但在Firefox(v20的Mac OS)的CSS不加载(本地或在线)。
< head>
< meta charset =utf-8>
< meta name =viewportcontent =width = device-width,initial-scale = 1.0>
< link rel =stylesheettype =text / csshref =styles.css/>
< / head>
@ font-face {
font-family:'chaparral';
src:url('fonts / chaparralprosemibold.eot); / * IE9兼容模式* /
}
@ font-face {
font-family:'chaparralr';
src:url('fonts / chaparralproegular.eot); / * IE9兼容模式* /
}
>
@font -face {
font-family:'chaparral';
src:url('fonts / chaparralprosemibold.eot'); / * IE9兼容模式* /
}
@ font-face {
font-family:'chaparralr';
src:url('fonts / chaparralproegular.eot'); / * IE9兼容模式* /
}
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
@font-face {
font-family: 'chaparral';
src: url('fonts/chaparralprosemibold.eot); /* IE9 Compat Modes */
}
@font-face {
font-family: 'chaparralr';
src: url('fonts/chaparralproegular.eot); /* IE9 Compat Modes */
}
'
just before the )
@font-face {
font-family: 'chaparral';
src: url('fonts/chaparralprosemibold.eot'); /* IE9 Compat Modes */
}
@font-face {
font-family: 'chaparralr';
src: url('fonts/chaparralproegular.eot'); /* IE9 Compat Modes */
}
'
in the url arguments.