- Description
Sets the color of one to four of an elements borders.
One value is given to all borders.
Two values, top and bottom take the first value left and right the second.
Three values, top takes the first , right and left the second and bottom the last.
Four values are given clockwise from top (top, right, bottom, left)- Example
div{ border-color:red; border-style:solid; border-width:medium; }
- Values
- color keyword of numerical color value
- Introduced in CSS version
- 1
- Applies to elements
- All
- Inherited
- No
- Browser Support
Browsers IE 
Firefox 
Safari 
Opera 
Chrome 
Versions 5 1 1 6 0.2
Belongs to:
See the full list CSS properties and browser support: CSS Properties