title: adjust div margin top using variable - jquery
body: <p>I have a diva and its height is auto calculated using jquery using</p>
  
  <pre><code>  $(window).load(function(){
    $(window).resize(function(){
     var height = $(this).height() - $("#header").height() + $("#footer").height() - 35
     $('#content').height(height);
  })
  $(window).resize();
    });
  </code></pre>
  
  <p>I have another div with id <code>content2</code> and I want to set the value stored in the variable <code>var height</code> as its margin-top. How can I do this??</p>
  
  <p>Thanks in advance...<code>:)</code></p>
  
  <p>blasteralfred</p>