Tables in Colors

[Total: 0    Average: 0/5]

Tables in different colors.

Body Code:

<style>
.tb { width: 100px;
      height: 50px;
      border-style: solid;
	  border-width: 2px;
	  overflow: hidden;
	}
#tb1 { color: green; border-color: green; }
#tb2 { color: red; border-color: red; }
#tb3 { color: orange; border-color: orange; }
#tb4 { color: blue; border-color: blue; }
#tb5 { color: purple; border-color: purple; }
#tb6 { color: silver; border-color: silver; }
#tb7 { color: gold; border-color: gold; }
body { background-color: #A0A080;
       color: #A0D0F0;
	 }
</style>
<table class=tb id=tb1>
<tr><td>TABLE 1 TABLE 1 TABLE 1 TABLE 1 TABLE 1 TABLE 1 TABLE 1 TABLE 1 TABLE 1 TABLE 1 TABLE 1 TABLE 1 TABLE 1 TABLE 1 TABLE 1 TABLE 1 TABLE 1 TABLE 1 TABLE 1 </td></tr>
</table>

<table class=tb id=tb2>
<tr><td>TABLE 2</td></tr>
</table>

<table class=tb id=tb3>
<tr><td>TABLE 3</td></tr>
</table>

<table class=tb id=tb4>
<tr><td>TABLE 4</td></tr>
</table>

<table class=tb id=tb5>
<tr><td>TABLE 5</td></tr>
</table>

<table class=tb id=tb6>
<tr><td>TABLE 6</td></tr>
</table>

<table class=tb id=tb7>
<tr><td>TABLE 7</td></tr>
</table>

Times Viewed: 0

Leave a Reply

Your email address will not be published. Required fields are marked *