CSS Property: border-spacing
[this page | pdf | back links]
The CSS (CSS2) border-spacing property sets the distance
between borders of adjacent cells (if the border-collapse
property is separate (which is
its default).
Valid property values
(other than inherit
and initial) are:
|
Value
|
Description
|
|
length1 length2
|
Distance between
borders of adjacent cells in CSS
lengths. Must be non-negative. If one value supplied then both horizontal
and vertical spacing. If two supplied then first relates to horizontal
spacing and second to vertical spacing
|
|
medium
|
(default value). Medium
width
|
|
thick
|
Thick width
|
|
thin
|
Thin width
|
|
Default Value:
|
0
|
|
JavaScript syntax:
|
e.g. object.style.borderSpacing="4px"
|
|
Inherited:
|
No
|
|
Animatable:
|
Yes
|
NAVIGATION LINKS
Contents | Prev | Next | CSS Properties