CSS Property: border-top-width
[this page | pdf | back links]
The CSS (CSS1) border-top-width property sets the width
of the top 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.borderTopWidth="4px"
|
|
Inherited:
|
No
|
|
Animatable:
|
Yes
|
NAVIGATION LINKS
Contents | Prev | Next | CSS Properties