To get the top/left coordinates of an element relative to its parent, you use the offsetLeft and offsetTop properties. The return values are in px:.
確定! 回上一頁