JavaScript Reference/Javascript Properties/borderColorDark
Версия от 18:30, 25 мая 2010; (обсуждение)
"borderColorDark" Example
<html>
<body>
<table border="10" id="myTable">
<tr>
<td>Contents of the cell</td>
</tr>
</table>
<button onclick="myTable.borderColorDark="blue";">Border color dark</button>
</body>
</html>
"borderColorDark" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<table> <td> |
| |<th> <tr> |
+----------------+--------------------------------------------------------------+
"borderColorDark" Syntax and Note
Note:
Read and write property.
Sets the color for the two dark sides of the border, creating the
effect of a 3D border.
Value:
Web color name or hexadecimal value in #RRGGBB format.
Syntax:
document.all.elementID.borderColorDark = value