Table Borders
There are a lot of differnet ways to decorate the border of your table. Table borders look 3D by using different coloured lines of pixels caled stips. There are three types of strip:
- the main/centre strip which is made up from:
- the light strip - top or left strip
- the dark strip - bottom or right strip
bordercolor="#hexidecimal"
Following is an example of changing just the border colour
Ex:
bordercolorlight="#hexidecimal"
bordercolordark="#hexidecimal"
<table width="100%" border="6" bordercolordark="#00ffff" bordercolorlight="#ff00ff" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
<td> </td>
</tr>
</table>
frame="value" BEWARE! Most of these only work in Internet Explorer!
<table width="100%" border="1" frame="value" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
<td> </td>
</tr>
</table>
The FRAME command allows you to control which parts of the border will be visible:
above: shows top edge only
below: shows bottom edge only
border: shows all four sides (default/normal)
box: shows all four sides (like border)
hsides: shows top and bottom edges
lhs: shows left edge only
rhs: shows right edge only
void: shows no border
vsides: shows left and right edges
rules="value"
Like FRAME, but RULES deals with the inside border edges and is not as flexable as FRAME
<table width="100%" border="1" rules="value" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
<td> </td>
</tr>
</table>
all: shows all borders
cols: shows borders between cells
groups: shows borders between all cell groups
none: hides all interior borders
rows: shows borders between rows only
|