JavaScript Reference/Javascript Properties/borderColorDark — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 08:22, 26 мая 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