Jquery can´t select image inside link
<p>I am trying to select a image inside a link.</p>

<p>JQUERY:</p>

<pre><code>$('#selskaber img').hover(function () {
    $(this).next().css({'border' : '1px solid #0167B0 !important'});
  }, 
  function () {
    $(this).next().css({'border' : '1px solid #CCCCCC !important'});
  }
);
</code></pre>

<p>HTML:</p>

<pre><code>&lt;div id="selskaber"&gt;
    &lt;a target="_blank" href="#"&gt;
    &lt;img style="border:none;" src="/images.pmg" alt="Telenor"&gt;
    &lt;/a&gt;
&lt;/div&gt;
</code></pre>

<p>UPDATE:</p>

<p>I have removed the next(). Still no border is added.</p>

<p>My CSS:</p>

<pre><code>#wrap #selskaber a {border:none;margin-left:10px;display:inline-block !important;
    height: 41px;
    margin-top: 5px;
    width: 150px;}
</code></pre>
