border-bottom, border-left, border-right, border-top | NN 6 IE 4 CSS 1
| Inherited: No
All four attributes are shorthand attributes for setting the width, style, and/or color of a single border edge of an element in one assignment statement. Whichever attributes you don't explicitly set with this attribute assume their initial values.
CSS Syntax
    border-bottom: border-bottom-width || border-bottom-style || color
    border-left: border-left-width || border-left-style || color
    border-right: border-right-width || border-right-style || color
    border-top: border-top-width || border-top-style || color
Value
For the width and style attribute values, see the border-bottom-width and border-bottom-style attributes in this chapter. For details on the color value, see the section about colors at the beginning of this chapter.
Initial Value
None.
Example
    p {border-bottom: 3px solid lightgreen}
    p {border-left: 6px solid lightgreen}
    p {border-right: 3px solid lightgreen}
    p {border-top: 6px solid lightgreen}
Applies To
All elements, but only block and replaced elements in IE 4 and 5 for Windows.
Object Model Reference
    [window.]document.getElementById("elementID").style.borderBottom
    [window.]document.getElementById("elementID").style.borderLeft
    [window.]document.getElementById("elementID").style.borderRight
    [window.]document.getElementById("elementID").style.borderTop