RE: format a table
Hi Eve,
I assume you're talking about the style of the table?
The best way would be to use CSS. You can redefine the TABLE, TH, TR and TD tags so that they have the borders, backgrounds and text style of your choice.
A good way to do this, is to redefine them only in a particular DIV. That way, you can have different styles for different tables.
See an example below.
If this answers your question, please mark this question as resolved.
Regards, Rich
Example CSS:
#pretty table {
border: 2px dotted pink;
}
#pretty th {
background-color: #FFFF99;
}
#pretty td {
color: #009900;
padding: 2px;
}
Example HTML:
<div id="pretty">
<table>
<tr>
<th>heading</th>
<th>heading</th>
</tr>
<tr>
<td>normal cell</td>
<td>normal cell</td>
</tr>
</table>
</div>