The border-right-color property sets the color of an element's right border.
Inherited: No
Example
table
{
border-right-color: #ff3366
}
table
{
border-right-color: rgb(255,0,0)
}
Possible Values
Value
Description
NN
IE
color
The color value can be a color name (red), a rgb value
(rgb(255,0,0)), or a hex number (#FF0000)
6.0
4.0
Browser Notes
Note in IE 4.0+:
This property is not recognized if it is used alone. Use the "border-style" property to set the borders first
or use the
"border-right" property instead
W3Schools is for training only. We do not warrant its correctness or its fitness for use.
The risk of using it remains entirely with the user. While using this site, you agree to have read and accepted our
terms of use and
privacy policy.