Note: Set the horizontal coordinate the left position. Syntax: element { background-position-x: value } elementID.style.backgroundPositionX = "value" document.all.elementID.style.backgroundPositionX = "value"