我尝试在手机上加载页面时出现内部服务器错误

时间:2017-01-18 16:22:07

标签: twitter-bootstrap

我的页面适用于我电脑上的所有导航器,但当我尝试在手机上加载页面时,会出现此错误:

“服务器遇到内部错误或配置错误,无法完成您的请求....有关此错误的详细信息可能在服务器错误日志中提供。此外,尝试访问时遇到500内部服务器错误错误使用ErrorDocument来处理请求。“

<!DOCTYPE html>
<html lang="en">
<head>
  <title>Bootstrap Case</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">

  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>

<nav class="navbar navbar-inverse">
  <div class="container-fluid">
    <div class="navbar-header">
      <a class="navbar-brand" href="#">WebSiteName</a>
    </div>
    <ul class="nav navbar-nav">
      <li class="active"><a href="#">Home</a></li>
      <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Page 1 <span class="caret"></span></a>
        <ul class="dropdown-menu">
          <li><a href="#">Page 1-1</a></li>
          <li><a href="#">Page 1-2</a></li>
          <li><a href="#" id="dd">Page 1-3</a></li>
        </ul>
      </li>
      <li><a href="#">Page 2</a></li>
      <li><a href="#">Page 3</a></li>
    </ul>
  </div>
</nav>

<div class="container">
  <h3>Navbar With Dropdown</h3>
  <p>This example adds a dropdown menu for the "Page 1" button in the navigation bar.</p>
</div>

</body>
</html>

1 个答案:

答案 0 :(得分:0)

我将我的免费托管更改为其他,并且工作,所以我的其他免费托管(awardspace.com)的问题现在,工作,但最初我的&#39; Navbar&#39;是水平的,在我的手机是垂直的。必须是我的手机的小尺寸?