title: CSS3 List Navigation Not Floating to Left
body: <p>I was doing a tutorial on tuts+ premium when the person who uploaded the series did not upload an exercise file. When I copied everything from his tutorial video into a CSS document EXACTLY, the CSS list items won't float left. I tried and tried everything but I couldn't. Here is the HTML:</p>
  
  <pre><code>&lt;!doctype HTML&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;CSS3 Transitions&lt;/title&gt;
  &lt;link rel="stylesheet" href="css/normalize.css" /&gt;
  &lt;link rel="stylesheet" href="css/lesson02.css" /&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;nav class="main-nav"&gt;
      &lt;ul class="top-nav"&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;products&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;contact&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
  &lt;/nav&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>And the copied CSS code from the tutorial:</p>
  
  <pre><code>/********** TOP NAV *************/
  nav.main-nav {
     background: #333;
     background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#2f2f2f),   to(#4f4f4f));
     background-image: -webkit-linear-gradient(top, #2f2f2f, #4f4f4f);
     background-image:         -moz-linear-gradient(top, #2f2f2f, #4f4f4f);
     background-image:            -ms-linear-gradient(top, #2f2f2f, #4f4f4f);
     background-image:             -o-linear-gradient(top, #2f2f2f, #4f4f4f);
     background-image:             linear-gradient(top, #2f2f2f, #4f4f4f);
     width: 100%
  }
  
  .top-nav {
     border-bottom: 2px solid #111;
     height: 30px;
     list-style-type: none;
     margin: 0;
     padding-left: 0;
     width: 100px;
  }
  
  .top-nav li {
     background: #333;
     background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#2f2f2f), to(#4f4f4f));
     background-image: -webkit-linear-gradient(top, #2f2f2f, #4f4f4f);
     background-image:     -moz-linear-gradient(top, #2f2f2f, #4f4f4f);
     background-image:        -ms-linear-gradient(top, #2f2f2f, #4f4f4f);
     background-image:         -o-linear-gradient(top, #2f2f2f, #4f4f4f);
     background-image:         linear-gradient(top, #2f2f2f, #4f4f4f);
     border-bottom: 2px solid #111;
     border-right: 1px solid #555;
     float: left;
     font-size: 14px;
     height: 20px;
     padding-top: 10px;
     position: relative;
     text-align: center;
     width: 150px;
  }
  
  .top-nav li a {
     color: #aaa;
     padding-top: 5px;
     position: absolute;
     top: 0;
     left: 0;
     width: 150px;
     height: 25px;
     text-decoration: none;
  }
  </code></pre>
  
  <p>The other CSS file can be found here which was found on the tuts+ premium tutorial too: <a href="https://necolas.github.io/normalize.css/2.1.1/normalize.css" rel="nofollow">Normalize CSS v2.1.1</a></p>
  
  <p>Please I need help if anyone </p>