Summary
This property is a shorthand property for setting the border-left-width, border-style and the border-color in a single declaration.
- Inherited: No
Syntax
TARGET_ELEMENT {border-left: border-width border-style border-color;}
Legal Values
- border-width - thin | thick
- border-style - dotted
- border-color - #000000 - #FFFFFF
Mozilla Recommended Values
Usage Examples
table {border-left: thick #FFFFFF;} sets the left border-width to be thick and the border-color to be white.
table {border-left: thin dotted #000000;} sets the left border-width to be thin, border-style is set to dotted and the border-color is set to black.
Notes
Specification Conformance
Browser Compatibility
See Also
border-right
border-top
border-bottom