$(document).ready(function(){
 var h = $("#h1").height();
 var top=$("#h1").height()-$("#test").height();
 $("#test").css("top",top)
});

相关文章: