title: Fixed Top Banner + Navigation
body: <p>I'm wondering how I can make my website have a fixed top banner with it's horizontal navigation bar, so when people scroll through the site, the banner and navigation stays in its position, while the content will scroll as normal.</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html lang="en"&gt;
  
      &lt;head&gt;
          &lt;meta charset="utf-8" /&gt;
          &lt;title&gt;Play - Learn - Grow&lt;/title&gt;
          &lt;link rel="stylesheet" href="main.css"&gt;
      &lt;/head&gt;
  
      &lt;body class="body"&gt;
  
          &lt;span class="banner_h"&gt;
              &lt;img src="Images\Top_Banner_4.png" alt="Banner" height="150" width ="1240" /&gt;
          &lt;/span&gt;
  
          &lt;nav&gt;
              &lt;ul class="nav"&gt;
                  &lt;li&gt;&lt;a href="index.html"&gt;Home&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="about.html"&gt;About Us&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="contact.html"&gt;Contact Us&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="membership.html"&gt;Become a Member&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="borrow.html"&gt;Borrow Toys&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="policies.html"&gt;Our Policies&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="sitemap.html"&gt;Site Map&lt;/a&gt;&lt;/li&gt;
              &lt;/ul&gt;
          &lt;/nav&gt;
  
          &lt;span class="banner_l"&gt;
              &lt;img src="Images\Side_Banner.jpg" alt="Banner" /&gt;
          &lt;/span&gt;
  
          &lt;span class="banner_r"&gt;
              &lt;img src="Images\Side_Banner.jpg" alt="Banner" /&gt;
          &lt;/span&gt;
  
          &lt;h2 class="headers"&gt;Welcome to the Home Page!&lt;/h2&gt;
  
          &lt;div class="container"&gt;
  
              Our aim is to provide the children of the community with an ever-changing variety of educational and fun toys to enhance
              their cognitive, social, emotional and physical development in the important first six years of their lives.
  
              &lt;br&gt;&lt;br&gt;&lt;span class="Links"&gt;Be sure to check out our Wikispace site with more information &lt;a href="http://mysocialmediatools-pn.wikispaces.com/"&gt;here&lt;/a&gt;!&lt;/span&gt;
  
          &lt;/div&gt;
  
          &lt;div id="content"&gt;&lt;/div&gt;
  
          &lt;div id="footer"&gt;
              Copyright &amp;copy 2013
          &lt;/div&gt;
  
  
        &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p>CSS:</p>
  
  <pre><code>/* Entire Document CSS */
  html{
      height: 100%;
  }
  /* Header CSS */
  .headers{
      color: #FFD89A;
      text-align: center;
      padding: 10px;
  }
  /* Body CSS */
  .body{
      background-color: #61B329;
      height: 50%;
      color: #FFFFFF;
  }
  .container{
      margin: 0 auto 0 auto;
      width: 50em;
      text-align: center;
      padding-bottom: 500px;
      height: 50%;
  }
  /* Navigation CSS */
  .nav {
      display: inline-block;
      background-color: #00B2EE;
      border: 1px solid #000000;
      border-width: 1px 0px;
      margin: 0;
      padding: 0;
      min-width: 1000px;
      width: 100%;
  }
  .nav li {
      list-style-type: none;
      width: 14.28%;
      float: left;
  }
  .nav a {
      display: inline-block;
      padding: 10px 0;
      width: 100%;
      text-align: center;
  }
  /* Banner / Picture CSS / Text in Images */
  .banner_l{
      float: left;
  }
  .banner_r{
      float: right;
  }
  .banner_h{
      display: block;
      width: 100%;
  }
  .banner_h img{
      width: 100%;
  }
  /* Footer CSS */
  #footer {
   clear: both;
   position: relative;
   z-index: 10;
   height: 3em;
   margin-top: -3em;
  }
  #content {
      padding-bottom: 3em;
  }
  /* Link CSS */
  a:link{
      color: #FFFFFF;
      text-decoration: none;
  }
  a:visited{
      color: #FFFFFF;
      text-decoration: none;
  }
  a:hover{
      background-color: #028482;
      color: #FFFFFF;
      text-decoration: underline;
  }
  a:active{
      background-color: #FCDC3B;
      color: #AA00FF;
      text-decoration: overline;
  }
  .Links A:hover{
      color: #028482;
      background-color: transparent;
      text-decoration: underline overline;
  }
  </code></pre>
  
  <p>Thanks!</p>