obtain [left, top] from an element