title: Making all the <li> in vertical menu the same width CSS
body: <p>Hi I am trying to build a vertical menu with an UL but i want that all the links have the same width independently of the length of the text...</p>
  
  <p>so for now my ugly menu have this code:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;link href="gg.css" rel="stylesheet" type="text/css"&gt;
      &lt;link href='http://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div id="x"&gt;    
      &lt;ul&gt;
          &lt;li&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;Quem somos&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;Blog&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;Onde Estamos&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="#"&gt;Contactos&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
  &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>and this css:</p>
  
  <pre><code>body{
  font-family: 'Droid Sans', sans-serif;
  background-color:#D0DCE8;
  }
  
  ul{
  list-style:none;
  margin:0px;
  padding:0px;
  }
  
  li{
  display:table;
  background-color:#FFC0CB;
  }
  
  a{
  text-decoration:none;
  color:#4183A7;
  padding:10px 40px;
  background-color:#FFC0CB;
  display:block;
  }a:hover{
      color:#6B9CD0;
  }
  
  #x{
  width:150px;
  }
  </code></pre>
  
  <p>i couldn't find anywhere a way of making all the <li> have the same width...</p>