[Thought]
You should, while your still learning, switch to using CSS to fully control the apperance of HTML instead of attributes in HTML tags.
[/Thought]
Anyways, here you go:
Code:
<html>
<head>
<style type="text/css">
.bordered {border: #ff0000 solid 1px;}
</style>
</head>
<body>
<!-- frame table with 3 cols-->
<table width="345" height="400" border="1" bordercolor="#808000" cellpadding="0" cellspacing="0">
<tr>
<!-- col1 -->
<td width="115" valign="top">
<!-- THIS ONE -->
<table width="100%" cellpadding="0" cellspacing="0">
<tr><td>header1</td></tr>
<tr><td class="bordered" height=100%>Lorem ipsum dolor</td></tr>
</table>
</td>
<!-- col2 -->
<td width="115" valign="top">
<table width="100%" cellpadding="0" cellspacing="0">
<tr><td>header2</td></tr>
<tr><td class="bordered">
Yes it does force the table cell down, doesn't it?
</td></tr>
</table>
</td>
<!-- col3 -->
<td width="115" valign="top">
<!-- THIS ONE-->
<table width="100%" cellpadding="0" cellspacing="0">
<tr><td>header3</td></tr>
<tr><td class="bordered">
Do you know how to make this cell grow vertically to match the size of the biggest column?.
</td></tr>
</table>
</td>
</tr>
</table>
</body>
</html>
The attribute valign="" controls what you are looking for. I do want to say though, is if you give each "sub" table a height, it will stretch the "Header" part of it along with the "content" part of it so the table stretches to the amount you gave it. To stop it from doing that, add a static height to the "Header" table cells.
Also, you should attempt to mostly stay away from percentage table dimensions. Exact pixel dimensions are a lot easier to keep track of, and will always be the same. (Which can greatly help in aligning issues you might come across). Whatever floats your boat though, that is just my opinion.
Edit: So if you want the sub table's to completly fill up the table holding it, set the height to 100%, and set the "Header" cell's height to a static value, such as 10.
Code:
<table width="100%" height="100%" cellpadding="0" cellspacing="0">
<tr><td height="10">header2</td></tr>
<tr><td class="bordered">
Yes it does force the table cell down, doesn't it?
</td></tr>
</table>
Any problems/questions, just ask.
Adios,
-Nedren