/

HTML / CSS / JavaScript Tutorial

CSS Property: border-left-width

[this page | pdf | back links]

The CSS (CSS1) border-left-width property sets the width of the left border of an element. You should always specify the border-style property before this property, as an element must have a border before you can change its characteristics.

 

Valid property values (other than inherit and initial) are:

 

Value

Description

length

Any specified thickness as a CSS length

medium

(default value). Medium width

thick

Thick width

thin

Thin width

 

Default Value:

medium

JavaScript syntax:

e.g. object.style.borderLeftWidth="4px"

Inherited:

No

Animatable:

Yes

 


NAVIGATION LINKS
Contents | Prev | Next | CSS Properties


Desktop view | Switch to Mobile