JavaScript Reference/Javascript Properties/borderColorLight

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

"borderColorLight" Example

   <source lang="javascript">
   

<html> <body>

Contents of the cell

<button onclick="myTable.borderColorLight="skyblue";">Border color light</button> </body> </html>


     </source>
   
  


"borderColorLight" is applied to

   <source lang="javascript">

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

| Applied_To | |

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

     </source>
   
  


"borderColorLight" Syntax and Note

   <source lang="javascript">

Note: Read and write property. Sets the color for the two light 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.borderColorLight = value


</source>
| | |