title: Center the nav in Twitter Bootstrap
body: <p>I want to be able to center the nav dead middle of a page and have it stayed centered in different resolutions. I don't want to use offsets to push it over or margin-left as this would just screw it up in different browser widths. This is the typical bar that I am messing around with but the ul always winds up left aligned.  </p>
  
  <pre><code>     &lt;div class="navbar navbar-fixed-top"&gt;
        &lt;div class="navbar-inner"&gt;
             &lt;div class="container"&gt;
                  &lt;a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"&gt;
                       &lt;span class="icon-bar"&gt;&lt;/span&gt;
                       &lt;span class="icon-bar"&gt;&lt;/span&gt;
                       &lt;span class="icon-bar"&gt;&lt;/span&gt;
                  &lt;/a&gt;
                  &lt;div class="nav-collapse"&gt;
                       &lt;ul class="nav"&gt;
                            &lt;li class="active"&gt;&lt;a href="#"&gt;Menu&lt;/a&gt;&lt;/li&gt;
                            &lt;li&gt;&lt;a href="#"&gt;On Tap&lt;/a&gt;&lt;/li&gt;
                            &lt;li&gt;&lt;a href="#"&gt;Shows&lt;/a&gt;&lt;/li&gt;
                            &lt;li&gt;&lt;a href="#"&gt;Surfwear&lt;/a&gt;&lt;/li&gt;
                            &lt;li&gt;&lt;a href="#" &gt;Contact&lt;/a&gt;&lt;/li&gt;
                       &lt;/ul&gt;
                  &lt;/div&gt;&lt;!--/.nav-collapse --&gt;
             &lt;/div&gt;&lt;!-- container --&gt;
        &lt;/div&gt;&lt;!-- navbar-inner --&gt;
   &lt;/div&gt;&lt;!--  navbar navbar-fixed-top --&gt;
  </code></pre>