CSS border-left-colorProperty


Example

Set left border color:

p { border-style:solid; border-left-color:#ff0000 }

Try it Yourself »

Property definition and usage instructions

The border-left-color property sets the color of an element's left border.

NoteAlways declare the border-style property before the border-color property. An element must have a border before you can change its color.

Default Value: not specified
Inherited: no
version: CSS1
JavaScript Syntax: object object.style.borderLeftColor="blue"


Browser Support

The numbers in the table specify the first browser version that fully supports the property.

Property
border-left-color 1.0 4.0 1.0 3.5 1.0

Property value

Value Description
color Specifies the left border color. For aCSS Color Valuesfull list of color values, see.
transparent Specifies that the border color should be transparent. This is the default.
inherit Specifies that the border color should be inherited from the parent element.


Related Articles

CSS Tutorial:CSS Border

CSS Reference Manual:border-left property

other extensions