borderColor

This property is used to set the border colors around all four sides of the table, table heading, cell, or frame. More than one value may be used, these values being space delimited. Values can be decimal RGB, hexadecimal #RRGGBB, or any valid named color. The options are as follows:

One Value - If one value is specified, the border will be all one color.
Two Values - If two values are used, the first value will specify the top and bottom border colors, and the second color value will represent the right and left border colors.
Three Values - If three values are used, the first will represent the top border color, the second will represent the right and left border colors, and the third will represent the bottom border color.
Four Values - If four values are used, the first will represent the top border color, the second the right, the third the bottom, and the fourth the left.

syntax:

document.all.elementID.style.borderColor = "value"

This Property is used to access attributes of the following:

FRAME
FRAMESET
TABLE
TD
TH
TR
style
tags