为什么我看不到任何内容?

时间:2016-09-09 12:55:13

标签: html css twitter-bootstrap

任何人都可以告诉我为什么我看不到导航栏下的文字。它隐藏了吗?我已将导航栏设置为固定。这是问题吗?

我正在尝试添加标题,但我甚至无法看到文字。

提前致谢

里斯

<!DOCTYPE html>
<html>
<head>
<!-- LINKS TO EXTERNAL FILES (BELOW) -->
<meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

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

    <title></title>
</head>

<body>

<!-- NAVBAR (RESPONSIVE) -->

    <nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">Slyde</a>
        </div>
        <div id="navbar" class="collapse navbar-collapse">
          <ul class="nav navbar-nav">
            <li class="active"><a href="#">Home</a></li>
            <li><a href="#meet">Meet The Band</a></li>
            <li><a href="#photos">Photos</a></li>
            <li><a href="#videos">Videos</a></li>
            <li><a href="#contact">Contact</a></li>
          </ul>
        </div><!--/.nav-collapse -->
      </div>
    </nav>

<!--HEADER (RESPONSIVE)-->

    <div>WHY CANT I SEE THIS?</div>











<!--LINK TO EXTERNAL FILES (BELOW) -->
<script type="text/javaScript" src="js/slyderesp.js"></script>
<script src="js/jquery-3.1.0.min.js"></script>
 <!-- Include all compiled plugins (below), or include individual files as needed -->
 <script src="bootstrap/js/bootstrap.min.js"></script>
</body>
</html>

1 个答案:

答案 0 :(得分:2)

您的导航栏具有类'query' => [ "filtered" => [ "query" => [ "match_all" => [] ], "filter" => [ "bool" => [ "must" => [ [ <--- "terms" => [ "num" => [ 1,2,3 ] ] ], <--- [ <--- "terms" => [ "sample" => [ "a", "b" ], ] ] <--- ] ] ], 'query' => [ 'multi_match' => [ 'query' => "Hello", 'fields' => ['text'], 'operator' => 'and' ], ] ] ], ,使其在浏览器窗口中得到修复。您的.navbar-fixed-top就在它下方。删除该类或为您的身体添加一些填充。