Html – Twitter Bootstrap – Responsive Navigation Bar


I've got no idea what I'm doing wrong here. I'm trying to get a bootstrap custom styled navigation bar to sit at the top, but be responsive on mobile devices.

As you can see, this doesn't happen. Make you window go below the 940px.

It messes up completely on my mobile device. I'm sure that I am missing something really basic here. Here is my HTML:

<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<title>Social Website</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="./css/bootstrap-responsive.css" rel="stylesheet">
<link href="./css/bootstrap.css" rel="stylesheet">
<link href="./css/main.css" rel="stylesheet">
<link href=',300,600,700,800' rel='stylesheet' type='text/css'>
body {
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */

<!-- Fav and touch icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
<link rel="shortcut icon" href="../assets/ico/favicon.png">


<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<a class="brand" href="#">Social Website</a>
<div class="nav-collapse collapse">
<ul class="nav">
<div class="spacer"></div>
<li><a href="#">Uploads</a></li>
<div class="spacer"></div>
<li><a href="#about">Categories</a></li>
<div class="spacer"></div>
<li><a href="#contact">Random</a></li>
<div class="spacer"></div>
<ul class="nav pull-right">
<div class="spacer"></div>
<li><a href="#">My Account</a></li>
<div class="spacer"></div>
</div><!--/.nav-collapse -->

<div class="container">

<h1>Under Construction</h1>
<p>This website is currently under construction, come back later or something.</p>

</div> <!-- /container -->

<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="//" ></script>
<script src="./js/bootstrap.min.js"></script>


Best Solution

Include <link href="./css/bootstrap-responsive.css" rel="stylesheet"> after <link href="./css/bootstrap.css" rel="stylesheet"> and specify a width for .container. There's an example of a fluid layout on