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






Border Color Light 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 Dark Example
3.Border Color Example
4.div.style.border="3px dashed #ff0";