Changing style based on height of element
<p>I want to change the the position of an anchor tag based on the height of my h3 tag. The code below isn't working, am I doing it right?</p>

<p>All it says is that if my h3 tag is greater than 17px then look for the parent div (.'news')
 and style the anchor tag within the element.</p>

<pre><code> if ($('.news h3').height() &gt; 17){
$(this).parent('a').css("bottom","20px");
 }
</code></pre>
