Vertical Divider in Tables

[Total: 0    Average: 0/5]

This shows how to have a vertical divider between TD’s in a table.

Body Code:

<!-- where shim.gif is an image of the color you want that is 1x1 in size -->
<table cellpadding="0" cellspacing="0" align="center" valign="middle">
<tr><td width="100"></td><td width="1"><img src="http://www.js-examples.com/images/shim.gif" width="1" height="1"></td><td width="100"></td></tr>
<tr>
<td height="100%" align="center" valign="middle" bgcolor="blue">BLUE</td>
<td width="1" bgcolor="red"></td>
<td valign="middle" align="center" bgcolor="green">GREEN</td>
</tr>
</table>

Times Viewed: 1

Leave a Reply

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