CSS Property: border-top-color
[this page | pdf | back links]
The CSS (CSS1) border-top-color property sets the
colour 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
|
|
color
|
Specified CSS colour
|
|
transparent
|
Transparent
|
|
Default Value:
|
The current CSS colour of the element
|
|
JavaScript syntax:
|
e.g. object.style.borderTopColor="red"
|
|
Inherited:
|
No
|
|
Animatable:
|
Yes
|
NAVIGATION LINKS
Contents | Prev | Next | CSS Properties