Note: Define three different border properties: color, width, and style. Syntax: element { border-right: values } elementID.style.borderRight = "values" document.all.elementID.style.borderRight = "values" // IE only