can't get height set in variable
<p>I have this in the footer, so when all content loads. The alert gives the correct result but when I apply that same var to the height of the #'container doens't work.</p>

<pre><code>$(document).ready(function() {
    var original_height = $("#container").height();
    var newDistance = $(".detta .content").outerHeight(true);
    var total = original_height + newDistance;
    alert(total);
    $(".detta .box").animate({top: newDistance});
    $("#container").height(total);
});
</code></pre>

<p>container doens't have any set height in the css.</p>

<p>What am I doing wrong?</p>
