Bootstrap正在开发Safari

时间:2017-04-16 21:45:34

标签: jquery html twitter-bootstrap google-chrome internet-explorer

我不明白,看起来好像无法在Chrome或IE上加载bootstrap,但在Safari上它工作得很好。

有人请吗?我真的不知道这里发生了什么。

Here is the Website

这是守则。

<!DOCTYPE html>

          

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->

<title>Bootstrap Intrinsecus</title>
<!-- Bootstrap link folder-->
<link href="css/bootstrap.css" type="text/csc" rel="stylesheet"/> 

<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>

<!--Black-Head-->  <link rel="stylesheet" type="text/css" href="css/Style_1.css" />  
<!--link to my .css file---->
<div class="well row">
<nav class="navbar navbar-fixed-top" role="navigation"> 
    <div class="navbar-header" > - INTRINSECUS - 
    </div> </nav>
</div>
<!--------- Script from Google Analytics--------------->

<!------- End of Black HEAD------------------->

 <!-------starting buttons------------------>
<div class=" well well-sm">
<div class="row">
          <div class="col-xs-3"> 
              <button class="btn">
                  <a href="index.html">
                      <h6 class="font"> HOME </h6>
                </a>
       </button>
</div>
              <div class="col-xs-3"> 
              <button class="btn">
                  <a href="story.html">
                      <h6 class="font"> STORY </h6>
                </a>
       </button>
</div>    
      <div class="col-xs-3"> 
              <button class="btn">
                  <a href="galery.html">
                      <h6 class="font"> PHOTOS </h6>
                </a>
       </button>
</div>
      <div class="col-xs-3"> 
              <button class="btn">
                  <a href="credits.html">
                      <h6 class="font"> CREDITS </h6>
                </a>
       </button>
</div>
          </div>  <!-- end of row "560" height="315"-->
      </div>      <!-- end of well -->

  

<body>
     <div class="row video-container"> 
     <iframe  src="https://www.youtube.com/embed/FZB8kOtBJf4?autoplay=1;rel=0" frameborder="0" allowfullscreen > </iframe>
      </div>

<!-----Social Buttons-------------->
<div class="well row">
<div class=" col-md-12 col-xs-12 ">
    <div class="col-sm-12 col-xs-12 social">            
        <a href="https://www.facebook.com/intrinsecusmovie/?ref=bookmarks" target="_blank"> 
         <span class="pull-right"> <h2> <i class="fa fa-facebook-square social"> 
            </i>
            </h2>
         </span>
        </a>

         <span class="pull-right space"> <h5>Follow us</h5> </span>

    </div>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" rel="stylesheet"></script>
     </body>
      <footer>
        <div class="container-fluid">
      <span class="pull-left">&copy; 2017 Intrinsecus
      </span>
           </div>
         </footer>
          </html>

2 个答案:

答案 0 :(得分:1)

您的网站上包含两个引导程序文件,请删除一个: enter image description here

Bootstrap需要jquery 1.9.0或更高版本才能正常运行并删除已加载的1.X.X:

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> 

我刚刚看到你链接了一个错过的bootstrap.css文件:

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

但在css文件夹中只有你的样式表:

enter image description here

答案 1 :(得分:1)

您为引导链接添加了不正确的类型 此

In [92]: df1['match'] = np.ravel(np.any((X.dot(Y.T) > 1).todense(), axis=1))

In [93]: df1
Out[93]:
                 consumption  match
0         squirrel ate apple   True
1         monkey likes apple  False
2         monkey banana gets   True
3         badger gets banana  False
4         giraffe eats grass  False
5         badger apple loves   True
6           elephant is huge  False
7  elephant eats banana tree   True
8     squirrel digs in grass  False
9        squirrel.eats/apple   True   # <----- NOTE

应为(type = text / css)

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