Note: Set four different padding style: padding-top, padding-right, padding-bottom, and padding-left. Syntax: element { padding: values } elementID.style.padding = "values" document.all.elementID.style.padding = "values" // IE only