CSS Property: border-style
[this page | pdf | back links]
The CSS (CSS1) border-style property sets the border style of an
element’s four borders. The individual border styles can be set separately
using border-bottom-style,
border-left-style,
border-right-style
and border-top-style.
As with some other aggregate edge properties, up to four parameter values can
be supplied (and if more than one is supplied then the properties are applied
to individual borders as described here).
Valid property values
(other than inherit
and initial) are
shown here.
|
Default Value:
|
none
|
|
JavaScript syntax:
|
e.g. object.style.borderStyle="double dashed"
|
|
Inherited:
|
No
|
|
Animatable:
|
Yes
|
NAVIGATION LINKS
Contents | Prev | Next | CSS Properties