title: CSS tooltip on image problem
body: <p>I've got a problem with a CSS tooltip over an image. Using it on text works fine, however when I use an image instead of text, it seems to be having issues, the issues are a bit hard to explain so I'll just give you a link:
  <a href="http://zorps.dk/css-tooltips/tooltip.html" rel="nofollow">http://zorps.dk/css-tooltips/tooltip.html</a></p>
  
  <p>CSS code:</p>
  
  <pre><code>.tooltip {
          border-bottom: 1px dotted #000000; color: #000000; outline: none;
          cursor: help; text-decoration: none;
          position: relative;
      }
      .tooltip span {
          margin-left: -999em;
          position: absolute;
      }
      .tooltip:hover span {
          border-radius: 5px 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; 
          box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1); -webkit-box-shadow: 5px 5px rgba(0, 0, 0, 0.1); -moz-box-shadow: 5px 5px rgba(0, 0, 0, 0.1);
          font-family: Calibri, Tahoma, Geneva, sans-serif;
          position: absolute; left: 1em; top: 2em; z-index: 99;
          margin-left: 0; width: 250px;
      }
      .tooltip:hover img {
          border: 0; margin: -10px 0 0 -55px;
          float: left; position: absolute;
      }
      .tooltip:hover em {
          font-family: Candara, Tahoma, Geneva, sans-serif; font-size: 1.2em; font-weight: bold;
          display: block; padding: 0.2em 0 0.6em 0;
      }
      .classic { padding: 0.8em 1em; }
      * html a:hover { background: transparent; }
      .classic {background: #FFFFAA; border: 1px solid #FFAD33; }
  </code></pre>
  
  <p>html code:</p>
  
  <pre><code>&lt;p&gt;     &lt;a class="tooltip" href="#"&gt; &lt;img src="icon_question.png" /&gt; &lt;span class="classic"&gt;The tooltip text goes here!&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
  </code></pre>
  
  <p>Anyone know what the issue is? 
  Thanks!</p>
  
  <p>Note: the code is taken from: <a href="http://sixrevisions.com/css/css-only-tooltips/" rel="nofollow">http://sixrevisions.com/css/css-only-tooltips/</a></p>