样式没有在Firefox中显示

时间:2014-02-26 22:08:37

标签: javascript html css twitter-bootstrap firefox

我遇到的问题是我的页面的StyleSheets在除Firefox之外的所有浏览器中加载。

我从Firefox获得的许多错误都是: “预期声明但发现'*'。跳到下一个声明。”

我正在使用Twitter的Bootstrap,因此整个样式表中有很多'*',我想知道这是不是一个问题。

请在Chrome与Firefox中查看此网站: http://lol.99centbrains.com/HOMEFRIES/

1 个答案:

答案 0 :(得分:0)

Aight,所以当我宣布我的外部样式表时有一个错字:

我打字了:

<link type="text/css" href="css/bootstrap.min.css" rel="stylesheet" type="media">

<link type="text/css" href="css/bootstrap-responsive.css" rel="stylesheet">

<link type="text/css" href="css/style.css" rel="stylesheet" type="media">

应该在哪里:

<link type="text/css" href="css/bootstrap.min.css" rel="stylesheet">

<link type="text/css" href="css/bootstrap-responsive.css" rel="stylesheet">

<link type="text/css" href="css/style.css" rel="stylesheet">

请注意 type =&#34; media&#34;

相关问题