I am building an html email template.. This has nested tables to control layout..
What I am trying today is position 2 tables within a cell , one contains header content and needs to stay at the top of the cell and the other table is the footer which needs to stay at the bottom of the cell no matter the height.. Content will be in the middle.
Its been so long since I've worked with tables I'm not able to get these to position the way I need them to.. Any help would be GREATLY appreciated!
<table width="600" border="0">
<tr>
<td> </td>
<td> </td>
<td width="150" rowspan="5">
<table width="150" border="0" align="center">
<tr>
<td bgcolor="#00FFFF">Header</td>
</tr>
<tr>
<td bgcolor="#01FFFF">must anchor</td>
</tr>
<tr>
<td bgcolor="#01FFFF">at top</td>
</tr>
</table>
<table width="150" border="0" align="center">
<tr>
<td bgcolor="#CCFF99">Footer</td>
</tr>
<tr>
<td bgcolor="#CCFF99">must anchor</td>
</tr>
<tr>
<td bgcolor="#CCFF99">at bottom</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2">
<p>dededwewdewdewd</p>
<p>ewdewdewdewdewd</p>
<p>wedewdewdewd</p>
<p>ewdewdwed</p>
<p> </p>
</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table>