title: Vertical align bootstrap navbar
body: <p>I found a way to horizontally align the navbar in bootstrap on this post <a href="https://stackoverflow.com/questions/10568103/modify-twitter-bootstrap-navbar">Modify twitter bootstrap navbar</a></p>
  
  <p>I then tried to get it to vertically align and it works except the top:30% is ignored as the 
  nav-collapse has a style="height: 0px; </p>
  
  <p>does anyone have any suggestions on using something different than top:30%</p>
  
  <p>HTML > </p>
  
  <pre><code>&lt;div class="navbar space-top-page center"&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;a class="brand"&gt;&lt;/a&gt;
        &lt;div class="nav-collapse center collapse" style="height: 0px; "&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="#about"&gt;About&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#contact"&gt;Contact&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
        &lt;/div&gt;&lt;!--/.nav-collapse --&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>CSS ></p>
  
  <pre><code>.center.navbar .nav/*, .center.navbar .nav &gt; li*/ {
  float:none;
  display:inline-block;
  *display:inline; /* ie7 fix */
  *zoom:1; /* hasLayout ie7 trigger */
  vertical-align: top;
  position:absolute;
  top:30%;
  left:40%;
    }
  
   .center .navbar-inner {
  text-align:center;
  }
  
  .center.nav-collapse { position:relative ; } 
  </code></pre>