title: Why doesn't Twitter bootstrap class navbar-fixed-top work?
body: <p>So here's my code:</p>
  
  <pre><code>&lt;!DOCTYPE HTML&gt;
  &lt;html&gt;
    &lt;head&gt;
      &lt;title&gt;&lt;/title&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
  
      &lt;link rel="stylesheet" href="libs/bootstrap/css/bootstrap.css" /&gt;
      &lt;link rel="stylesheet" href="libs/bootstrap/css/bootstrap-responsive.css" /&gt;
      &lt;link rel="stylesheet" href="css/main.css" /&gt;
    &lt;/head&gt;
    &lt;body&gt;
  
      &lt;div class="navbar navbar-inverse navbar-fixed-top"&gt; &lt;!-- header nav --&gt;
        &lt;div class="navbar-inner"&gt;
          &lt;div class="container"&gt;
            &lt;ul class="nav"&gt;
  
              &lt;li class="active"&gt;
                &lt;a href="#"&gt;Home&lt;/a&gt;
              &lt;/li&gt;
  
              &lt;li&gt;
                &lt;a href="#"&gt;About us&lt;/a&gt;
              &lt;/li&gt;
  
              &lt;li&gt;
                &lt;a href="#"&gt;Contact Us&lt;/a&gt;
              &lt;/li&gt;
  
              &lt;li&gt;
                &lt;a href="#"&gt;Derp&lt;/a&gt;
              &lt;/li&gt;
  
            &lt;/ul&gt;
  
            &lt;span class="brand"&gt;&lt;/span&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
  
      &lt;div class="container"&gt;
  
        &lt;div class="row"&gt;
  
          &lt;div class="span3" style="background:grey; height:200px;"&gt;&lt;/div&gt;
          &lt;div class="span9" style="background:lightgrey; height:20000px;"&gt;&lt;/div&gt;
  
        &lt;/div&gt;
  
      &lt;/div&gt; 
  
      &lt;div class="footer" style="height:100px"&gt; &lt;!-- footer --&gt; 
      &lt;/div&gt; 
  
      &lt;script type="text/javascript" src="libs/jquery-1.10.1.min.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="libs/bootstrap/js/bootstrap.min.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" scr="js/main.js"&gt;&lt;/script&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And for some reason, the navigation bar styles perfectly, however it doesn't seem to fix itself to the top of the page when scrolling. It seems so trivial... what am I doing wrong here?</p>