方法1: jQuery('#id值').offset().left || jQuery('#值').offset().top 方法2: var divTop = $("div").css("top"); var divLeft = $("div").css("left");