title: How do I float a header nav tag to the right?
body: <p>Question   </p>
  
  <p>I've looked over the code very carefully and can't see a reason at all whatsoever why the header nav float isn't working in the stylesheet. I'm including all the html code and css code down below. I want to move my 
  header nav to the right in my css code so that my links appear on the top right corner of my home page horizontally.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>body {
      font: 15px/1.5 Arial, Helvetica, sans-serif;
      padding: 0;
      margin: 0;
      background-color: #f4f4f4;
  }
  
  /*Global*/
  .container {
      width: 80%;
      margin: auto;
      overflow: hidden;
  }
  
  ul {
      margin: 0;
      padding: 0;
   }
  
  /* header */
  
  header {
      background: #35424a;
      color: #fff;
      padding-top: 30px;
      min-height: 70px;
      border-bottom: #000 3px solid;
  }
  
  header a {
      color: #fff;
      text-decoration: none;
      text-transform: uppercase;
      font-size: 16px;
  }
  
  
  header li {
      float: left;
      display: inline;
      padding: 0 20px 0 20px;
  }
  
  header #branding {
      float: left;
  }
  
  header #branding h1 {
      margin: 0;
  }
  
  header nav {
      float: right;
      margin-top: 10px;
  }
  
  header .highlight, header .current a {
      color: #e8491d;
      font-weight: bold;
  }
  
  header a:hover {
      color: #ccc;
      font-weight: bold;
  }
  
  /* Home Section */
  
  #home {
      min-height: 400px;
      background: url("http://www.ridgedesign.ie/wp-content/uploads/2011/02/Ridge-Design-Website-Design-Background.jpg") 0 400px;
      background-size: cover;
      text-align: center;
      color: #fff;
  }
  
  #home h1 {
      margin-top: 100px;
      font-size: 55px;
      margin-bottom: 10px;
  }
  
  #home p {
      font-size: 20px;</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
    &lt;meta charset="utf-8"&gt;
    &lt;meta name="viewport" content="width=device-width"&gt;
    &lt;title&gt;Home&lt;/title&gt;
    &lt;body&gt;
    &lt;header&gt;
      &lt;div class="container"&gt;
        &lt;div id="branding"&gt;&lt;span class="highlight"&gt;&lt;h1&gt;James 
  Velardi&lt;/span&gt;&lt;/h1&gt;
          &lt;nav&gt;
            &lt;ul&gt;
              &lt;li class="current"&gt;&lt;a href="index.html"&gt;Home&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="about.html"&gt;About&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="services.html"&gt;Services&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/nav&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/header&gt;
    &lt;section id="home"&gt;
      &lt;div class="container"&gt;
        &lt;h1&gt;Affordable Professional Web Design&lt;/h1&gt;
        &lt;p&gt;laskfj;jla;jal;j;aljs;lasj;lasjl;ajsdlajsdl;fajsldfkjals;dfjalsdkfjalsf&lt;/p&gt;
      &lt;/div&gt;
    &lt;/section&gt;</code></pre>
  </div>
  </div>
  </p>