border
border-bottom
border-bottom-width
border-color
border-left
border-right
border-right-width
border-style
border-top
border-top-width
border-width
PROPERTY: border-left-width
border-left-width
:
thin
|
medium
|
thick
|
length
Compatibility:
IE4+ N4+
Version:
Level 1
Inherited:
No
The
border-left-width
property sets the width of the left border.
thin
|
medium
|
thick
The keyword values of
thin, medium
, or
thick
can be used to set the width of the border line. The exact thickness of the border created by using these keyword values will be determined by your computer/browser combination.
length
The
length
value can be in any of the following seven units. Use the abbreviation.
Length
Abbrev.
centimeters
cm
ems
em
inches
in
millimeters
mm
picas
pc
pixels
px
points
pt
Code:
body { border-left-width: thick; }
body { border-left-width: 0.25in; }
body { border-left-width: 5mm; }
or
p.bordr
{
border-bottom-color: red; border-bottom-style: double; border-bottom-width: 15px;
border-left-color: yellow; border-left-style: double; border-left-width: 15px;
border-right-color: blue; border-right-style: double; border-right-width: 15px;
border-top-color: green; border-top-style: double; border-top-width: 15px;
}
...
<p class="bordr">
<b>DevGuru is great!</b>
</p>
Output:
DevGuru is great!
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information