I know I can set a CSS value through JavaScript such as:
document.getElementById(\'image_1\').style.top = \'100px\';
But, can I
Use the following. It helped me.
document.getElementById('image_1').offsetTop
See also Get Styles.