border-color | WebReference

border-color

Name: border-color

Description: Specifies the border color of an element. Used as a shortcut to determine the entire border color in one rule.

Browser Compatibility: IE 4+ / NN 4+

Inherited: No

Values:

Code Example:

strong {border-color: #0000EE;}

P {border-color: #0000EE #00EEEE #EE00EE #EE0000;}

Comments: If one value is listed, it will be applied to the entire border. Each side can be designated separately. The order is top, right, bottom, and left.