Abakada: Back to Basics > Language References > CSS Properties > Box Properties > border-right-color Property
Sets or retrieves the color of the object’s right border.
CSS |
{ border-right-color: strColor } |
Script |
object.style.borderRightColor = strColor ] |
strColor |
String that specifies one of the color names or red-green-blue ( RGB ) values in the Color Table. |
NOTE: Specifying the color as a color name may not be recognized by some browsers, whereas the RGB color value should always be displayed accurately.
The property is read/write with a default value equal to the value of the color property; the CSS property is not inherited.
The SPAN and DIV objects must have either the position or the width attribute set in order to apply a border.
border-right, border-right-style, border-right-width