Make your own free website on


Syntax : border-color : value
Possible Values : color{1,4}
Initial Value : The value of the color property
Applies to: All elements
Inherited : No

The border-color property sets the color of an element's border. Between one and four color values are specified. If four values are given, they apply to top, right, bottom, and left border color, respectively. If one value is given, it applies to all sides. If two or three values are given, the missing values are taken from the opposite side.

Authors may also use the border shorthand property.