title: a href... a:link, a:visited, interfered with <a href> image link
body: <p>I have the below style in my <code>&lt;head&gt;&lt;/head&gt;</code> to display my menu:</p>
  
  <pre><code>&lt;style&gt;
  ul {
      list-style-type: none;
      margin: 0;
      padding: 0;
      overflow: hidden;
  }
  li {
      float: left;
  }
  a:link, a:visited {
      display: block;
      width: 120px;
      font-weight: none;
      color: #FFFFFF;
      background-color: #98bf21;
      text-align: center;
      padding: 4px;
      text-decoration: none;   
  }
  a:hover, a:active {
      background-color: red;
  }
  &lt;/style&gt;
  </code></pre>
  
  <p>The problem now is, <code>a:link, a:visited</code> AND <code>a:hover, a:active</code>, is displaying a box menu on my <code>div</code> image link. Here is the code:</p>
  
  <pre><code>&lt;div id="content1"&gt;
   &lt;a href="inside_page.html"&gt;
   &lt;img src="images/adeliepenguin_250x200.jpg" alt="Adenlie Penguin" height="200" width="250"&gt;&lt;/a&gt; 
  &lt;/div&gt;
  </code></pre>
  
  <p>My question is: Is there a way I can stop it to display that menu box my image div space?</p>
  
  <p>Here is the full code of the index.html:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;Birds &lt;/title&gt;
  &lt;link rel="stylesheet" type="text/css" href="birds2.css" /&gt;
  &lt;style&gt;
  ul {
      list-style-type: none;
      margin: 0;
      padding: 0;
      overflow: hidden;
  }
  li {
      float: left;
  }
  a:link, a:visited {
      display: block;
      width: 120px;
      font-weight: none;
      color: #FFFFFF;
      background-color: #98bf21;
      text-align: center;
      padding: 4px;
      text-decoration: none;   
  }
  a:hover, a:active {
      background-color: red;
  }
  &lt;/style&gt;
  
  &lt;/head&gt;
  
  &lt;body&gt;
  &lt;div id="container"&gt;
    &lt;div class="menu"&gt;
      &lt;ul&gt;
        &lt;li&gt;&lt;a href="#home"&gt;Home&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#news"&gt;Birds In Danger&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#news"&gt;Birds Habitants&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#contact"&gt;Contact&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#about"&gt;About&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/div&gt;
    &lt;div id="flash"&gt; Flash messaging area&lt;/div&gt;
    &lt;div id="content"&gt;
      &lt;div id="content1"&gt;
       &lt;a href="inside_page.html"&gt;
         &lt;img src="images/adeliepenguin_250x200.jpg" alt="Adenlie Penguin" height="200" width="250"&gt;
       &lt;/a&gt; 
      &lt;/div&gt;
      &lt;div id="content2"&gt;&lt;img src="images/American_Goldfinch_250x200.jpg" alt="American Goldfinch" height="200" width="250"&gt;&lt;/div&gt;
      &lt;div id="content3"&gt;&lt;img src="images/blue-jay-Glamour_250x200.jpg" alt="Blue Jay Glamour" height="200" width="250"&gt;&lt;/div&gt;
      &lt;div id="content4"&gt;&lt;img src="images/american-robin-250x200.jpg" alt="Blue Jay Glamour" height="200" width="250"&gt;&lt;/div&gt;
    &lt;/div&gt;
     &lt;div class="footer_menu"&gt;
      &lt;ul&gt;
        &lt;li&gt;&lt;a href="#home"&gt;Home&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#news"&gt;Birds In Danger&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#news"&gt;Birds Habitants&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#contact"&gt;Contact&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#about"&gt;About&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/div&gt;
    &lt;div id="footer"&gt; Footer area&lt;/div&gt;
  
  &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>