title: How to add style to link in this drop down menu
body: <p>I have this drop-down menu which I found on a site:</p>
  
  <pre><code>&lt;style&gt;
  body {background: #E3CAA1;}
  ul {
    font-size: 13px;
    font-family: 'Lucida Grande', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-align: center;
    display: inline;
    margin: 0;
    padding: 15px 4px 17px 0;
    list-style: none;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  }
  ul li {
    font: bold 12px/18px sans-serif;
    display: inline-block;
    margin-right: -4px;
    position: relative;
    padding: 15px 20px;
    background: #fff;
    cursor: pointer;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
  }
  ul li:hover {
    background: #555;
    color: #fff;
  }
  ul li ul {
    padding: 0;
    position: absolute;
    top: 48px;
    left: 0;
    width: 150px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    display: none;
    opacity: 0;
    visibility: hidden;
    -webkit-transiton: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    -ms-transition: opacity 0.2s;
    -o-transition: opacity 0.2s;
    -transition: opacity 0.2s;
  }
  ul li ul li { 
    background: #555; 
    display: block; 
    color: #fff;
    text-shadow: 0 -1px 0 #000;
  }
  ul li ul li:hover { background: #666; }
  ul li:hover ul {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  &lt;/style&gt;
  &lt;div style="text-align: right;padding: 20px 50px 150px;"&gt;
  &lt;ul&gt;&lt;li&gt;Home&lt;/li&gt;
    &lt;li&gt;&lt;a href="#"&gt;About&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;
      Portfolio
      &lt;ul&gt;
        &lt;li&gt;Web Design&lt;/li&gt;
        &lt;li&gt;Web Development&lt;/li&gt;
        &lt;li&gt;Illustrations&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;Blog&lt;/li&gt;
    &lt;li&gt;Contact&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>When I tried changing simple text to link the effects was not implemented so I added this lines is <code>css</code></p>
  
  <pre><code>ul li a{
    text-decoration:none;
    color:#000;
    }
  </code></pre>
  
  <p>and </p>
  
  <pre><code>ul li:hover,ul li a:hover {
    background: #555;
    color: #fff;
  }
  </code></pre>
  
  <p>Now its working almost fine but the hover effect of the link takes place only when i hover on link but I want it to  take place as soon as cursor enters the block i.e when the background of <code>&lt;li&gt;</code> changes.
  Can you please help me out of this ?
  Also I want the whole <code>&lt;li&gt;</code> block to act as the link i.e user is not bounded to click only on the text but anywhere inside the block please help .</p>