Abakada: Back to Basics > Language References > CSS Properties > Box Properties > border-left-color Property
Sets or retrieves the color of the object’s left border.
CSS |
{ border-left-color: strColor } |
Script |
object.style.borderLeftColor = 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-left, border-left-style, border-left-width