title: CSS Eliminate Padding Around Navigation Bar
body: <p>I'm trying to create a navigation bar at the top of my page that is flush to the top of the page like this <a href="http://mightytext.net/" rel="nofollow">http://mightytext.net/</a> . However, I always end up with some white padding on the top and sides of the page. </p>
  
  <p>How do I get rid of this padding so that the content lines up directly against the top of the page?</p>
  
  <p>Here is my code:</p>
  
  <pre><code>&lt;div id='header'&gt;
  &lt;ul id="nav"&gt;
      &lt;li&gt;&lt;a href="#"&gt;About Us&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Our Products&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;FAQs&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Contact&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Login&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>#nav {
  width: 100%;
  float: left;
  display: block;
  margin: 0px;
  padding: 0px;
  list-style: none;
  background-color: #3498DB;
  }
  #nav li {
  float: left;
  }
  </code></pre>