get top margin from a div and apply to another
<p>I have used the following Jquery code to make fixed position sidebar div middle of screen.</p>

<pre><code>$j("#sidebar").css('margin-top', $j(window).height()/2 - $j("#sidebar").height()/2);
</code></pre>

<p>now i am trying to get it's top margin to apply with #content div.</p>

<p>is there any way to do it easily.</p>

<p>Thanks in advance.</p>
