Zestaw JavaScript lewy margines
document.getElementById("myDiv").style.marginLeft = "50px";
Friendly Hawk
document.getElementById("myDiv").style.marginLeft = "50px";