border-left-width property
The border-left-width property specifies
a width of a left border. The value of the property
is any
size units,
except percentages, or the keywords thin
(2 pixels border), medium (4 pixels
border) or thick (6 pixels border). Default
value: medium.
Syntax
selector {
border-left-width: value;
}
Example
Let's set a left border to one pixel width:
<div id="elem"></div>
#elem {
border-left-width: 1px;
border-left-style: solid;
border-left-color: black;
background: #f9f9f9;
width: 300px;
height: 100px;
}
:
See also
-
the
border-right-widthproperty
that sets a width of a right border -
the
border-left-styleproperty
that sets a style of a left border -
the
border-left-colorproperty
that sets a color of a left border -
the
border-leftproperty
that sets a border for a left side -
the
border-widthproperty
that sets a width of all sides of a border