title: Content overlapping in bootstrap
body: <p>I am creating a website for my band with bootstrap. This is my first real attempt at developing websites properly. I'm having some trouble getting my elements to clear each other properly. I have included my github repo so that you can pull everything and check it out on your machine. </p>
  
  <p>Every time I add new content to the page, the new content seems to slip just under the content above it. I don't know why it's doing this as they are block elements. Clear: both; doesn't seem to work and I don't want to be offsetting things with css properties like "top: 32px;"</p>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p>Github Repo: <a href="https://github.com/Ominix/coldclockknockout" rel="nofollow">https://github.com/Ominix/coldclockknockout</a></p>
  
  <p>Here is the raw code in case you aren't on Github.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
    &lt;head&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
      &lt;!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --&gt;
      &lt;title&gt;Coldclock Knockout&lt;/title&gt;
  
      &lt;!-- Bootstrap --&gt;
      &lt;link href="assets/css/bootstrap.min.css" rel="stylesheet"&gt;
  
      &lt;!-- Custom CSS --&gt;
      &lt;link href="style.css" rel="stylesheet"&gt;
  
      &lt;!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --&gt;
      &lt;!-- WARNING: Respond.js doesn't work if you view the page via file:// --&gt;
      &lt;!--[if lt IE 9]&gt;
        &lt;script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"&gt;&lt;/script&gt;
        &lt;script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"&gt;&lt;/script&gt;
      &lt;![endif]--&gt;
    &lt;/head&gt;
    &lt;body&gt;`
  
      &lt;!--NAVBAR TOP============================================================--&gt;
      &lt;nav class="navbar navbar-inverse navbar-fixed-top" id="navigation"&gt;
        &lt;div class="container-fluid"&gt;
          &lt;!-- Brand and toggle get grouped for better mobile display --&gt;
          &lt;div class="navbar-header"&gt;
            &lt;!--This is the three bars that open the menu--&gt;
            &lt;button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false"&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;!--This is the first button on the left side of Navbar--&gt;
            &lt;a class="navbar-brand" href="index.html"&gt;Coldclock Knockout&lt;/a&gt;
          &lt;/div&gt;
  
          &lt;!-- Collect the nav links, forms, and other content for toggling --&gt;
          &lt;div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"&gt;
            &lt;ul class="nav navbar-nav"&gt;
              &lt;li class="active"&gt;&lt;a href="index.html"&gt;News&lt;span class="sr-only"&gt;(current)&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="MUSIC.html"&gt;MUSIC&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="store.html"&gt;Store&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/div&gt;&lt;!-- /.navbar-collapse --&gt;
        &lt;/div&gt;&lt;!-- /.container-fluid --&gt;
      &lt;/nav&gt;
  
      &lt;!--HERO IMAGE================================================================--&gt; 
  
  
    &lt;!-- Mobile hero --&gt;
  
    &lt;div id="mobleJumbotron" class="jumbotron"&gt;
      &lt;img src="images/jumbotron.jpg" alt="cd release promo"&gt;
    &lt;/div&gt;
  
  
    &lt;div id="myCarousel" class="carousel slide" data-ride="carousel"&gt;
    &lt;!-- Indicators --&gt;
    &lt;ol class="carousel-indicators"&gt;
      &lt;li data-target="#myCarousel" data-slide-to="0" class="active"&gt;&lt;/li&gt;
      &lt;li data-target="#myCarousel" data-slide-to="1"&gt;&lt;/li&gt;
      &lt;li data-target="#myCarousel" data-slide-to="2"&gt;&lt;/li&gt;
      &lt;li data-target="#myCarousel" data-slide-to="3"&gt;&lt;/li&gt;
      &lt;li data-target="#myCarousel" data-slide-to="4"&gt;&lt;/li&gt;
      &lt;li data-target="#myCarousel" data-slide-to="5"&gt;&lt;/li&gt;
      &lt;li data-target="#myCarousel" data-slide-to="6"&gt;&lt;/li&gt;
    &lt;/ol&gt;
  
    &lt;!-- Wrapper for slides --&gt;
    &lt;div class="carousel-inner" role="listbox"&gt;
  
      &lt;div class="item active"&gt;
        &lt;img src="images/jumbotron.jpg" alt="cd release promo"&gt;
      &lt;/div&gt;
  
      &lt;div class="item"&gt;
        &lt;img src="images/Coldclock Knockout Local 662 (1).jpg" alt="Crowd Shot1"&gt;
      &lt;/div&gt;
  
  
      &lt;div class="item"&gt;
        &lt;img src="images/Coldclock Knockout Local 662 (10).jpg" alt="Robby and Ryan in blue"&gt;
      &lt;/div&gt;
  
      &lt;div class="item"&gt;
        &lt;img src="images/Coldclock Knockout Local 662 (49).jpg" alt="Ryan 1"&gt;
      &lt;/div&gt;
  
      &lt;div class="item"&gt;
        &lt;img src="images/Coldclock Knockout Local 662 (50).jpg" alt="Bryan 1"&gt;
      &lt;/div&gt;
  
  
      &lt;div class="item"&gt;
          &lt;img src="images/Coldclock Knockout Local 662 (45).jpg" alt="Robby 1"&gt;
      &lt;/div&gt;
  
  
      &lt;div class="item"&gt;
        &lt;img src="images/Coldclock Knockout Local 662 (48).jpg" alt="Crowd Shot2"&gt;
      &lt;/div&gt;
  
  
    &lt;/div&gt;
  
    &lt;!-- Left and right controls --&gt;
    &lt;a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev"&gt;
      &lt;span class="glyphicon glyphicon-chevron-left" aria-hidden="true"&gt;&lt;/span&gt;
      &lt;span class="sr-only"&gt;Previous&lt;/span&gt;
    &lt;/a&gt;
    &lt;a class="right carousel-control" href="#myCarousel" role="button" data-slide="next"&gt;
      &lt;span class="glyphicon glyphicon-chevron-right" aria-hidden="true"&gt;&lt;/span&gt;
      &lt;span class="sr-only"&gt;Next&lt;/span&gt;
    &lt;/a&gt;
    &lt;/div&gt;
  
  
    &lt;div class="container-fluid mainContent"&gt;
      &lt;div class="row"&gt;
        &lt;div class="col-md-4"&gt;
          &lt;h1&gt;THIS IS CONTENT NOW&lt;/h1&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  
  
    &lt;!-- Footer --&gt;
      &lt;footer&gt;
          &lt;div class="container"&gt;
              &lt;div class="row"&gt;
                  &lt;div class="col-lg-12"&gt;
                      &lt;ul class="list-inline"&gt;
                          &lt;li&gt;
                              &lt;a href="#"&gt;Home&lt;/a&gt;
                          &lt;/li&gt;
                          &lt;li class="footer-menu-divider"&gt;&amp;sdot;&lt;/li&gt;
                          &lt;li&gt;
                              &lt;a href="#about"&gt;About&lt;/a&gt;
                          &lt;/li&gt;
                          &lt;li class="footer-menu-divider"&gt;&amp;sdot;&lt;/li&gt;
                          &lt;li&gt;
                              &lt;a href="#services"&gt;Services&lt;/a&gt;
                          &lt;/li&gt;
                          &lt;li class="footer-menu-divider"&gt;&amp;sdot;&lt;/li&gt;
                          &lt;li&gt;
                              &lt;a href="#contact"&gt;Contact&lt;/a&gt;
                          &lt;/li&gt;
                      &lt;/ul&gt;
                      &lt;p class="copyright text-muted small"&gt;Copyright &amp;copy; Your Company 2014. All Rights Reserved&lt;/p&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/footer&gt;
  
  
  
      &lt;!-- jQuery (necessary for Bootstrap's JavaScript plugins) --&gt;
      &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"&gt;&lt;/script&gt;
      &lt;!-- Include all compiled plugins (below), or include individual files as needed --&gt;
      &lt;script src="assets/js/bootstrap.min.js"&gt;&lt;/script&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>...and the CSS</p>
  
  <pre><code>html {
      height: 100%;
  }
  
  body {
      background-color: black;
      height: 100%;
  }
  
  
  /*================================================================================================
  
  NAVIGATION  
  
  ================================================================================================*/
  
  
  
  .active {
      border-bottom: 1px solid red;
  }
  
  .navbar-inverse .navbar-nav &gt; .active &gt; a{
      font-size: 1.25em;
  }
  
  #navigation {
      margin-bottom: 0px;
      border-radius: 0px;
  }
  
  
  
  /*================================================================================================
  
  JUMBOTRON
  
  ================================================================================================*/
  
  
  
  
  
  #myCarousel {
      top: 32px;
      height: 500px;
  }
  
  #myCarousel img {
      margin: 0 auto;
      height: 500px;
  }
  
  /* begin moblie banner*/
  
  .jumbotron {
      margin: 0 auto;
      padding: 0;
  }
  
  .jumbotron img {
      margin: 0 auto;
      width: 100%;
  }
  
  #mobleJumbotron {
      display: none;
      width: 100%;
  }
  
  @media screen and (min-width: 0px) and (max-width: 800px) {
      #myCarousel {
          display: none;
      }
  
      #mobleJumbotron {
          display: block;
      }
  }
  
  
  
  /*================================================================================================
  
      Main content on home page
  
  ================================================================================================*/
  
  
  
  
  
  /*================================================================================================
  
      FOOTER
  
  ================================================================================================*/
  </code></pre>
  
  <p>I understand that I probably have quite a bit of unnecessary/redundant code in here. I'm a noob after all. </p>
  
  <p>Any help would be appreciated.</p>