modifier la marge supérieure javascript

window.onscroll = function() { document.getElementById('id').style.margin = '40px 0 0 0' }
SoftwareUp