border-left

Defines the properties for the left border for the element.

Platform Support

IENetscapeMozillaOperaSafari
4.0+6.0+1.0+4.0+1.0+

Usage

[color] [style] [width]

Values

*Specify a border-left value not on this list.
inheritInherit the value from the parent element.
#ffffffborder-left-color: Border color placeholder. e.g. #ffffff = white
noneborder-left-style: No border.
dottedborder-left-style: Dotted line.
dashedborder-left-style: Dashed line.
solidborder-left-style: Solid line.
doubleborder-left-style: Double line.
grooveborder-left-style: Grooved line.
ridgeborder-left-style: Ridged line.
insetborder-left-style: Inset line.
outsetborder-left-style: Outset line.
hiddenborder-left-style: Hidden border.
thinborder-left-width: Thin border.
mediumborder-left-width: Medium border.
thickborder-left-width: Thick border.

Example

To specify a thick, red, dashed left border, use the following syntax: .myborderleftclass {border-left: thick red dashed;}.

Remarks

Use the border-left property as a shortcut to typing out all of the individual border-left properties separately. You can specify any valid value for a border-left- property as part of border-left.

Availability

W3C CSS2

Related

text_css aptana_docs