border-top-color
Sets the color of the top border of the object.
The following example uses the border-top-color property to specify the color of the top border. This example uses a call to an embedded (global) style sheet to change the color of the top border from red to blue when an onmouseover event occurs:
<head>
<style>
td { border-top-color: red; border-width: 0.5cm; border-style: groove; }
.blue { border-top-color: blue; }
</style>
</head>
<body>
<table border >
<tr>
<td onmouseover="this.className='blue '" onmouseout="this.className=''">
<img src="sphere.jpg">
</td>
</tr>
</table>
This property is defined in Cascading Style Sheets (CSS), Level 2 (CSS2).
A, ABBR, ACRONYM, B, BDO, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, CITE, CODE, CUSTOM, DD, DEFAULTS, DEL, DFN, DIV, DL, DT, EM, EMBED, FIELDSET, FONT, FORM, FRAME, HN, HR, I, IFRAME, IMG, INPUT TYPE=BUTTON, INPUT TYPE=CHECKBOX, INPUT TYPE=FILE, INPUT TYPE=IMAGE, INPUT TYPE=PASSWORD, INPUT TYPE=RADIO, INPUT TYPE=RESET, INPUT TYPE=SUBMIT, INPUT TYPE=TEXT, INS, LI, OBJECT, OL, P, Q, S, SPAN, SUB, TABLE, TD, TH, TT, U, UL, VAR, XMP