title: How to use CSS in Bootstrap to load a logo in the nav-brand class and have it centred?
body: <p>So here is a link to my site <a href="http://www.newbrightonweatherstation.co.uk/theteam1.html" rel="nofollow">CLICK HERE</a></p>
  
  <p>I have used a random logo i found to demo what I am trying to do.
  As can be seen the logo in not centred vertically in the navbar</p>
  
  <p>I used code the folowing code to produce the nav bar </p>
  
  <pre><code>&lt;!-- Start navbar --&gt;
  &lt;div class="navbar navbar-fixed-top"&gt;
    &lt;div class="container"&gt;
      &lt;button type="button" class="navbar-toggle" 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;/button&gt;
      &lt;!-- &lt;a class="navbar-brand" href="#"&gt;NBWS&lt;/a&gt; --&gt;
      &lt;a class="navbar-brand pull-left"&gt;
      &lt;a href="#"&gt;&lt;img class = "brand" src="https://s3.amazonaws.com/sprc-www/img/logo.png" alt="SparkCharger" /&gt;&lt;/a&gt;
      &lt;/a&gt;
  
        &lt;!-- Dropdown menu --&gt;
        &lt;ul class="nav navbar-nav pull-right"&gt;
        &lt;ul class="nav navbar-nav"&gt;
          &lt;li&gt;&lt;a href="index.php"&gt;Home&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="forecast.html"&gt;Forecast&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="Links.html"&gt;Links&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;  
        &lt;li class="dropdown"&gt;
            &lt;a href="#" class="dropdown" data-toggle="dropdown"&gt;About &lt;b class="caret"&gt;&lt;/b&gt;&lt;/a&gt;
            &lt;ul class="dropdown-menu pull-right"&gt;
              &lt;li class="active"&gt;&lt;a href="theteam.html"&gt;The Team&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="thisstation.html"&gt;The Weather Station&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
  
      &lt;/div&gt;&lt;!--/.nav-collapse --&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  
  
  <p>and this custom css to resize the image</p>
  
  <pre><code>/* Important for logo */
  .brand {height: 25px;}
  </code></pre>
  
  <p>any ideas how to centre the image?</p>