Get real height of div plus css generated content (if possible)
<p>I'm trying to use javascript to give three ULs nested inside divs a negative top position equal to their height. I've got it working, sort of (thanks to help from here!) but instead of calculating the height of each nested UL and calculating the top position accordingly, each UL is being assigned a negative top position of -367px:</p>

<pre><code>&lt;script type="text/javascript"&gt;
$(document).ready(function() {
    //Get height of footer popup
    var pHeight = $('footer ul li &gt; ul').outerHeight(); 
    //Calculate new top position based on footer popup height
    var nHeight = pHeight + "px";         
    $('footer ul li &gt; ul').css({ 
        //Change top position to equal height of footer popup
        'top' : "-" + nHeight    
    });
});
&lt;/script&gt;
</code></pre>

<p>I've tried this using <code>.height</code>, <code>.outerheight</code>, and even <code>.getheight</code> which someone mentioned on the Jquery documentation for <code>.height</code>. I also tried using an each statement, though it didn't seem to work; I may have written it incorrectly. </p>

<p>In addition (if possible), I'd like the negative position to take into account the height of a content being generated using the css <code>:after</code> psuedo-property, though I can always manually add that in to the calculation if javascript has no way to access that.</p>

<p><strong>EDIT:</strong> Added a test page link. It's the bottom divs (and nested ULs) I'm trying to target with JS; the "tails" on each box should line up at about 1.2em above their parent divs.</p>

<p><a href="http://www.qualityprinters2.com/test/float-tab-test.html" rel="nofollow">http://www.qualityprinters2.com/test/float-tab-test.html</a></p>
