title: Can't center menu
body: <p>I'm trying to center my menu after I changed my menu with a bar over the full length of the page. But now whatever I try it won't center my menu in the middle of the page. If I try to do it my menu will be at the right or starts in the center but will not be central in my page. I also want the H1 to be with the menu</p>
  
  <p>my html page</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>    @charset "utf-8";
      html {
        font: 12pt;
        font-family: Verdana, Geneva, sans-serif;
      }
      body {
        margin: 0px;
      }
      header h1 {
        float: left;
        margin: 11px;
      }
      header {
        background-color: white;
        font: "Palatino Linotype", "Book Antiqua", Palatino, serif;
        color: #F00;
        float: left;
        display: block;
      }
      nav {
        background-color: #F00;
        float: right;
        height: 60px;
        width: 900px;
        display: block;
        width: auto;
      }
      nav a {
        text-decoration: none;
        list-style: none;
        color: white;
        font-size: 20px;
        padding: 8px;
      }
      nav li:hover,
      a:hover {
        color: black;
      }
      li {
        display: inline;
      }
      img {
        border-color: #F00
      }
      .page {
        float: left;
      }
      .verticalline {
        border-left: thick solid #ff0000;
      }
      .head {
        height: 60px;
        background-color: #F00;
        width: 100%;
        min-width: 2000px;
      }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  
  &lt;head&gt;
    &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
    &lt;title&gt;Lierse Liga&lt;/title&gt;
    &lt;link rel="stylesheet" type="text/css" href="style.css"&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
    &lt;div class="head"&gt;
      &lt;header&gt;
        &lt;h1&gt;Lierse Liga&lt;/h1&gt;
        &lt;nav&gt;
          &lt;ul class="menu"&gt;
            &lt;li&gt;&lt;a class="button" href="index.html"&gt;Home&lt;/a&gt;
            &lt;/li&gt;
            &lt;li&gt;
              &lt;a class="button" href="eersteklasse.html"&gt;
                &lt;img src="bal.gif" id="img1" /&gt;Eerste Klasse&lt;/a&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;a class="button" href="tweedeklasse.html"&gt;Tweede Klasse&lt;/a&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;a class="button" href="contact.html"&gt;Contact&lt;/a&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;/nav&gt;
      &lt;/header&gt;
    &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>