且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Bootstrap在Firefox中不起作用

更新时间:2022-12-18 09:29:08

 < link href =css\bootstrap.css =stylesheet> 
< link href =css\bootstrap-responsive.css =stylesheet>

应改为:

 < link href =css / bootstrap.css =stylesheet> 
< link href =css / bootstrap-responsive.css =stylesheet>

解释:Firefox正在发送一个名为css\bootstrap.css的文件的请求,而不是bootstrap.css在css文件夹中,不存在,服务器回复404错误。难道你不喜欢斜线类型之间的细微差别吗? :P


I have a Bootstrap form made, but is doesnt appear correctly in Firefox... all other browsers seem to work. I've tried everything!

Heres the link: http://www.redmandesign.ie/bootstrap/form1.html

I think its related to the bootstrap style sheet but not sure.

Can anyone help i'm really stuck!!!

<link href="css\bootstrap.css" rel="stylesheet">
<link href="css\bootstrap-responsive.css" rel="stylesheet">

Should be changed to:

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

Explanation: Firefox is sending a request for a file called css\bootstrap.css instead of asking for bootstrap.css in the css folder, which doesn't exist and the server replies with a 404 error. Don't you just love the subtle difference between the types of slashes? :P