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