title: How to align my dropdown menu to center of the page?
body: <p>So if you want to see my menu go <a href="http://www.gameplay-universe.uphero.com/" rel="nofollow">here</a>.</p>
  
  <p>Since I know you'll want my source, here's the HTML:</p>
  
  <pre><code>&lt;div id='menu-container'&gt;
  &lt;ul id='menu' class="menu"&gt;
     &lt;li class='active'&gt;&lt;a href='/'&gt;&lt;span&gt;Home&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
     &lt;li class='has-sub'&gt;&lt;a href='/games/'&gt;&lt;span&gt;Games&lt;/span&gt;&lt;/a&gt;
        &lt;ul&gt;
           &lt;li&gt;&lt;a href='/games/dota-2/'&gt;&lt;span&gt;Dota 2&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href='/games/cs-go/'&gt;&lt;span&gt;CS: GO&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href='/games/css/'&gt;&lt;span&gt;CS: Source&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href='/games/terraria/'&gt;&lt;span&gt;Terraria&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
           &lt;li class='last'&gt;&lt;a href='/games/minecraft/'&gt;&lt;span&gt;Minecraft&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
     &lt;/li&gt;
     &lt;li class='has-sub'&gt;&lt;a href='/about.html'&gt;&lt;span&gt;About Us&lt;/span&gt;&lt;/a&gt;
        &lt;ul&gt; 
           &lt;li&gt;&lt;a href='http://www.youtube.com/user/'&gt;&lt;span&gt;Our YouTube Channel&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href='/faq-list.html'&gt;&lt;span&gt;Our FAQs/Q&amp;amp;A List&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href='/feed-news.rss'&gt;&lt;span&gt;Our RSS Feed&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href='/wiki/'&gt;&lt;span&gt;Our Wiki&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href='/wiki/'&gt;&lt;span&gt;Our Blog&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
                   &lt;li class='last'&gt;&lt;a href='/privacy.html'&gt;&lt;span&gt;Privacy Policy&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
     &lt;/li&gt;
     &lt;li class='has-sub last'&gt;&lt;a href='/contact.html'&gt;&lt;span&gt;Contact Us&lt;/span&gt;&lt;/a&gt;
        &lt;ul&gt;
           &lt;li class='last'&gt;&lt;a href='/forums/'&gt;&lt;span&gt;Forums&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
     &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>And here's my CSS:</p>
  
  <pre><code>* {
  margin: 0px;
  }
  #menu-container ul,
  #menu-container li,
  #menu-container span,
  #menu-container a {
    margin: 0;
    padding: 0;
    position: relative;
  }
  #menu-container {
    height: 49px;
    border-radius: 0px 0px 0 0;
    -moz-border-radius: 0px 0px 0 0;
    -webkit-border-radius: 0px 0px 0 0;
    background: #141414;
    background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAxCAIAAACUDVRzAAAAA3NCSVQICAjb4U/gAAAALElEQVQImWMwMrJi+v//PxMDw3+m//8ZoPR/qBgDEhuXGLoeYswhXg8R5gAAdVpfoJ3dB5oAAAAASUVORK5CYII=) 100% 100%; 
    background: -moz-linear-gradient(top, #32323a 0%, #141414 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #32323a), color-stop(100%, #141414));
    background: -webkit-linear-gradient(top, #32323a 0%, #141414 100%);
    background: -o-linear-gradient(top, #32323a 0%, #141414 100%);
    background: -ms-linear-gradient(top, #32323a 0%, #141414 100%);
    background: linear-gradient(to bottom, #32323a 0%, #141414 100%);
    border-bottom: 2px solid #0fa1e0;
  }
  #menu-container:after,
  #menu-container ul:after {
    content: '';
    display: block;
    clear: both;
  }
  #menu-container a {
    background: #141414;
    background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAxCAIAAACUDVRzAAAAA3NCSVQICAjb4U/gAAAALElEQVQImWMwMrJi+v//PxMDw3+m//8ZoPR/qBgDEhuXGLoeYswhXg8R5gAAdVpfoJ3dB5oAAAAASUVORK5CYII=) 100% 100%; 
    background: -moz-linear-gradient(top, #32323a 0%, #141414 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #32323a), color-stop(100%, #141414));
    background: -webkit-linear-gradient(top, #32323a 0%, #141414 100%);
    background: -o-linear-gradient(top, #32323a 0%, #141414 100%);
    background: -ms-linear-gradient(top, #32323a 0%, #141414 100%);
    background: linear-gradient(to bottom, #32323a 0%, #141414 100%);
    color: #ffffff;
    display: inline-block;
    font-family: Helvetica, Arial, Verdana, sans-serif;
    font-size: 12px;
    line-height: 49px;
    padding: 0 20px;
    text-decoration: none;
  }
  #menu-container ul {
    list-style: none;
  }
  #menu-container &gt; ul {
    float: left;
  }
  #menu-container &gt; ul &gt; li {
    float: left;
  }
  #menu-container &gt; ul &gt; li:hover:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 50%;
    bottom: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #0fa1e0;
    margin-left: -10px;
  }
  #menu-container &gt; ul &gt; li:first-child &gt; a {
    border-radius: 0px 0 0 0;
    -moz-border-radius: 0px 0 0 0;
    -webkit-border-radius: 0px 0 0 0;
  }
  #menu-container &gt; ul &gt; li:last-child &gt; a {
    border-radius: 0 0px 0 0;
    -moz-border-radius: 0 0px 0 0;
    -webkit-border-radius: 0 0px 0 0;
  }
  #menu-container &gt; ul &gt; li.active &gt; a {
    box-shadow: inset 0 0 3px #000000;
    -moz-box-shadow: inset 0 0 3px #000000;
    -webkit-box-shadow: inset 0 0 3px #000000;
    background: #070707;
    background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAxCAIAAACUDVRzAAAAA3NCSVQICAjb4U/gAAAALklEQVQImWNQU9Nh+v//PxMDw3+m//8ZkNj/mRgYIHxy5f//Z0BSi18e2TwS5QG4MGB54HL+mAAAAABJRU5ErkJggg==) 100% 100%; 
    background: -moz-linear-gradient(top, #26262c 0%, #070707 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #26262c), color-stop(100%, #070707));
    background: -webkit-linear-gradient(top, #26262c 0%, #070707 100%);
    background: -o-linear-gradient(top, #26262c 0%, #070707 100%);
    background: -ms-linear-gradient(top, #26262c 0%, #070707 100%);
    background: linear-gradient(to bottom, #26262c 0%, #070707 100%);
  }
  #menu-container &gt; ul &gt; li:hover &gt; a {
    background: #070707;
    background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAxCAIAAACUDVRzAAAAA3NCSVQICAjb4U/gAAAALklEQVQImWNQU9Nh+v//PxMDw3+m//8ZkNj/mRgYIHxy5f//Z0BSi18e2TwS5QG4MGB54HL+mAAAAABJRU5ErkJggg==) 100% 100%; 
    background: -moz-linear-gradient(top, #26262c 0%, #070707 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #26262c), color-stop(100%, #070707));
    background: -webkit-linear-gradient(top, #26262c 0%, #070707 100%);
    background: -o-linear-gradient(top, #26262c 0%, #070707 100%);
    background: -ms-linear-gradient(top, #26262c 0%, #070707 100%);
    background: linear-gradient(to bottom, #26262c 0%, #070707 100%);
    box-shadow: inset 0 0 3px #000000;
    -moz-box-shadow: inset 0 0 3px #000000;
    -webkit-box-shadow: inset 0 0 3px #000000;
  }
  #menu-container .has-sub {
    z-index: 1;
  }
  #menu-container .has-sub:hover &gt; ul {
    display: block;
  }
  #menu-container .has-sub ul {
    display: none;
    position: absolute;
    width: 200px;
    top: 100%;
    left: 0;
  }
  #menu-container .has-sub ul li {
    *margin-bottom: -1px;
  }
  #menu-container .has-sub ul li a {
    background: #0fa1e0;
    border-bottom: 1px dotted #6fc7ec;
    filter: none;
    font-size: 11px;
    display: block;
    line-height: 120%;
    padding: 10px;
  }
  #menu-container .has-sub ul li:hover a {
    background: #0c7fb0;
  }
  #menu-container .has-sub .has-sub:hover &gt; ul {
    display: block;
  }
  #menu-container .has-sub .has-sub ul {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
  }
  #menu-container .has-sub .has-sub ul li a {
    background: #0c7fb0;
    border-bottom: 1px dotted #6db2d0;
  }
  #menu-container .has-sub .has-sub ul li a:hover {
    background: #095c80;
  }
  #menu-container {
  -moz-box-shadow: 0 0 10px #888;
  -webkit-box-shadow: 0 0 10px #888;
  box-shadow: 0 0 10px #888;
  }
  </code></pre>
  
  <p>It's much, but if I don't give it you'll report me so how to align the menu to the center of my page (since I didn't code this, it was my friend)? And I also want the menu only, without the empty grey space. Is it possible?</p>