Code:
.body, .content, .content TABLE, .menu
{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
}
.body, .content
{
color: #000000;
}
.content TD
{
background-color: #F0F0FF;
}
.content a
{
color: #0000FF;
text-decoration: none;
}
.content TABLE, .content TH
{
background-color: #4482FF;
}
.content TH a
{
color: #FFFFFF;
text-decoration: none;
}
I am currently using that code to format this table..
Code:
<div class="content">
<table cellpadding="0" cellspacing="1" border="0">
<tr>
<th>Header 1</th>
</tr>
<tr>
<td>Body 1</td>
</tr>
<tr>
<td>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td>Body 2</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
The problem is body 2 loses its formatting, because I do not have a .content TD TD set up, well I can not determine how many tables I will have inside each other.. is there a way to make it go in the other tables. I can not include anything else in the HTML code.. the only thing I can edit is the CSS.
Thanks,
Andrew