|
Have a table's height expand to fit content area
Hello,
I have my page laid out with a table.
bascially a 2 column page. If the right column td is big, the left td will also be the same size since its a table. my problem lies that i have a left nav, whose 1st row contains 'top rounded corners' and 3rd row contains the 'bottom rounded corners', and I want the middle row to take up the remaining space heightwise. I cannot get it to do that. it takes up only as much spaace as it needs, and specifying height="100%" on that row or table cell doesnt work.
this is how my page bascially looks like
....
<td id="leftnavHolder">
<table cellspacing="0px" cellpadding="0px" border="0px" >
<tr>
<td height="15px" width="15px"><img src="images/tl.gif"/></td>
<td height="15px" ></td>
<td height="15px" width="15px"><img src="images/tr.gif"/></td>
</tr>
<tr>
<td width="15px"></td>
<td height="100%???">
<ul id="leftnavList">
<li id="current" class="leftnavItem">» <a href="index.html">Home</a></li>
<li class="leftnavItem"><a href="dccfandyou.html">DCCF and You</a></li>
<li class="leftnavItem"><a href="legacyleave.html">What Legacy will you Leave</a></li>
<li class="leftnavItem"><a href="startfund.html">Starting a Fund</a></li>
<li class="leftnavItem"><a href="typefunds/Unrestricted.html">Types of Funds</a></li>
<li class="leftnavItem"><a href="managingfund/Accounting.html">Managing Your Funds</a></li>
<li class="leftnavItem"><a href="professional/WhyWorkwithUS.html">For Professional Advisors</a></li>
<li class="leftnavItem"><a href="board.html">Board of Directors</a></li>
</ul>
</td>
<td width="15px"></td>
</tr>
<tr>
<td height="15px" width="15px"><img src="images/bl.gif"/></td>
<td height="15px" ></td>
<td height="15px" width="15px"><img src="images/br.gif"/></td>
</tr>
</table>
</td>
Edit/Delete Message
Last edited by arianhojat; 04-26-2006 at 01:32 PM..
|