CSS border-left Property
Complete CSS Reference
Definition
The border-left property is a shorthand property for setting all of the properties for the left border in one declaration.
Inherited: No
JavaScript Syntax
CSS properties can also be dynamically changed with a JavaScript.
Scripting Syntax: object.style.borderLeft="thick solid
#0000FF"
In our HTML DOM tutorial you can find more details about the
borderLeft property.
In our HTML DOM tutorial you can also find a full
Style Object Reference.
Example
table
{
border-left: thin dotted #00FF00
}
table
{
border-left: thick #0000FF
}
|
Possible Values
Value |
Description |
border-left-width
border-style
border-color |
Sets the properties for the left border |
Try-It-Yourself Demos
All the left border
properties in one declaration
This example demonstrates a shorthand property for setting all of the properties for the
left border in one declaration.
Complete CSS Reference
|