Border Color Dark Example : Border « Style Layout « JavaScript DHTML






Border Color Dark Example

 
    
<html>
<body>
<table border="10" id="myTable">
   <tr>
      <td>Contents of the cell</td>
   </tr>
</table>
<button onclick="myTable.borderColor='mediumblue';">Add color to the border</button>
<button onclick="myTable.borderColorDark='blue';">Border color dark</button>
<button onclick="myTable.borderColorLight='skyblue';">Border color light</button>
</body>
</html>

    
      
        
  








Related examples in the same category

1.'border' Example
2.Border Color Light Example
3.Border Color Example
4.div.style.border="3px dashed #ff0";