Forum Moderators: open

Message Too Old, No Replies

automatic "height" sizing of leftside navigation table

         

kvanbeurden

12:42 am on Apr 3, 2002 (gmt 0)



imagine a two column page, each column is a table. is there a way for the left column to scale equally with the height of the right column when the right column's contents get longer or shorter? i am trying to avoid frames and yet remain stubborn about layout!

please excuse me if this has been previously addressed...thanks for the help!

pageoneresults

1:11 am on Apr 3, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hello kvanbeurden and welcome to the forums. < Can I say that?

Based on my knowledge with tables, the only way to achieve this is to insert two cells within one table. Those two cells will now grow with one another. If the left cell has more content, the right cell will extend downward with it because it is now part of the enclosing table. Does that sound right?

Here is what the code would look like. I've added cellpadding and cellspacing of 5 so you can see the tables and cells if you are using a WYSIWYG editing program.

<table border="0" cellpadding="5" cellspacing="5" width="100%">
<tr>
<td width="100%">
<table border="0" cellpadding="5" cellspacing="5" width="100%">
<tr>
<td width="50%"></td>
<td width="50%"></td>

</tr>
</table>
</td>
</tr>
</table>

kvanbeurden

1:19 am on Apr 3, 2002 (gmt 0)



the general drift is that i am using server side includes to generate the webpage as pieces. this way, i could update simply the content cell of the webpage while everything else remained constant.

but the issue occurs when the material in the "content" cell is different day in and out; i am trying to not lose the "look and layout" (though i am not obsessing over those items either)of how the leftside navbar merges with the page footer.

a little over the top?

pageoneresults

1:56 am on Apr 3, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Can you sticky me with a URL so I can take a peek? Use the StickyMail link above and type in the username pageoneresults in the to field.