May 2003
Intermediate to advanced
480 pages
10h 9m
English
The border-color property sets the color of the border surrounding the selected element(s).
The colors for each side may be set individually using the border-bottom-color, border-left-color, border-right-color, and border-top-color properties.
Inherited: No
You can specify from one to four different color values (see Table B-2) to specify different colors for each side of the element, as shown in Table B-2. Note that Netscape 4 supports only a single border color value.
| Number of values | Effect on borders |
|---|---|
| 1 | All four borders receive the value specified. |
| 2 | Top and bottom (horizontal) borders receive the first value, left and right (vertical) borders receive ... |
Read now
Unlock full access