title: Bootstrap Navbar overtop Carousel
body: <p>Having a slight problem with the positioning of my navbar. I have my navbar the way I would like (detached from the top slightly like in this example: <a href="http://getbootstrap.com/examples/carousel/" rel="noreferrer">http://getbootstrap.com/examples/carousel/</a>) but the pictures in my carousel end below the navbar.</p>
  
  <p>I would like for the pictures in my carousel to extend all the way to the top of the page and have the navbar overlapping the upper portion of the carousel (like in the example above). I've played around with the padding but the highest I can get the carousel images to extend to are the bottom of the navbar. I've attached the code snippets for the navbar, carousel and carousel css below. Any help would be appreciate, thanks in advance</p>
  
  <p>Code for Navbar:</p>
  
  <pre><code>&lt;div class="container"&gt;
    &lt;div class="navbar navbar-inverse" role="navigation"&gt;  &lt;!navbar-inverse is black, navbar-default is grey&gt;
  
  
      &lt;div class="navbar-header"&gt;
        &lt;button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"&gt;
          &lt;span class="sr-only"&gt;Toggle navigation&lt;/span&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;a class="navbar-brand"&gt;Derby Days 2014&lt;/a&gt;
      &lt;/div&gt;
  
      &lt;div class="navbar-collapse collapse"&gt;
        &lt;ul class="nav navbar-nav navbar-right"&gt;
          &lt;li&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;About&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;Donate&lt;/a&gt;&lt;/li&gt;
          &lt;li class="dropdown"&gt;
            &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown"&gt;Events &lt;b class="caret"&gt;&lt;/b&gt;&lt;/a&gt;
            &lt;ul class="dropdown-menu"&gt;
              &lt;li&gt;&lt;a href="#"&gt;Penny Wars&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="#"&gt;Wonderful Wednesday&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="#"&gt;Lip Sync&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="#"&gt;Concert&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;FAQ&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/div&gt;&lt;!--/.nav-collapse --&gt;
     &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Code for Carousel:</p>
  
  <p>
    
    
      </li>
      </li>
      </li>
    
    
      
        
        
          
          
        
      
      
        
        
          
          
        
      
      
        
        
          
          
        
      
    
    
          
    
          
  </p>
  
  <p>CSS code for carousel:</p>
  
  <pre><code>.carousel {position: relative;}
  
  .carousel-inner {position: relative; width: 100%; overflow: hidden;}
  </code></pre>