Note: Define the element right margin. Syntax: element { margin-right: value } elementID.style.marginRight = "value" document.all.elementID.style.marginRight = "value" // IE only