JavaScript Reference/Javascript Properties/borderColorDark

Материал из Web эксперт
Перейти к: навигация, поиск

"borderColorDark" Example

   <source lang="javascript">
   

<html> <body>

Contents of the cell

<button onclick="myTable.borderColorDark="blue";">Border color dark</button> </body> </html>


     </source>
   
  


"borderColorDark" is applied to

   <source lang="javascript">

+----------------+--------------------------------------------------------------+

| Applied_To | |

+----------------+--------------------------------------------------------------+

     </source>
   
  


"borderColorDark" Syntax and Note

   <source lang="javascript">

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


</source>
| | |