how am I misusing the 'first' selector (if it's even what I want) ?
$("html, body, #Contents div:first").each( function() {
alert(topAdjust);
leftAdjust += parseInt($(this).css("marginLeft")) + parseInt($(this).css("paddingLeft"));
topAdjust += parseInt($(this).css("marginTop")) + parseInt($(this).css("paddingTop"));
})
If I remove the ":first" I get about 9 iterations, otherwise I get 2 (i.e. it isn't ran for the first 'div' enclosed in a tag with id 'Contents', which is what I want).