Note: Define the width of the top border. Syntax: element {border-top-width: value } elementID.style.borderTopWidth = "value" document.all.elementID.style.borderTopWidth = "value" // IE only