CSS GUIDE BORDER-LEFT-COLOR

From CDOT Wiki
Revision as of 17:48, 13 December 2006 by Sherman (talk | contribs) (See Also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Summary

This property is used to set the color of a given elements left border.

  • Inherited: No
  • Percentages: N/A
  • Media: visual

Syntax

TARGET_ELEMENT{border-left-color: value;}

Legal Values

Values can be entered in 3 ways:

MethodRangeExample
Hexadecimal (preferred)#000000 - #ffffff#00ff00 is green
Color nameW3Schools Natural Langauge Color Namesgreen
RGB value0-255rgb(102,204,102) is green

transparent - The border is transparent.

See usage examples section for more details.

Mozilla Recommended Values

Usage Examples

table{border-left-color: #ff3366;}
table{border-left-color: rgb(255,0,0);}

Notes

When using the transparent keyword as a value the border is transparent though it may still have width.

Specification Conformance

CSS 2.1

Browser Compatibility

See Also