Change margin-top with JavaScript
Click the "Try it" button to change the top margin of the DIV element:
Try it
This is my DIV element.