View Full Version : What is wrong with my table?
Mike19983
11 Sep 2006, 10:11 PM
see it here (http://www.geocities.com/wasmike235/)
I am trying to make a menu on the left hand side but the tables on that side get more hight when ever i put something in the center.
What do i have wrong?
Thanks
Wickham
12 Sep 2006, 05:43 AM
Your Home cell is linked to the Logo cell so if the Logo cell has lots of text, the Home cell will increase in height.
One method would be to put another table inside the left cell with fixed heights for the menu items. This td has valign="top" to keep it up.
<table border="1"><tr> <!--main table has unlimited height-->
<td valign="top"> <!--left cell for menu items table-->
<table><tr>
<td height="30">Home</td>
</tr><tr>
<td height="30">faq</td>
</tr><tr>
<td height="30">contact</td>
</tr><tr>
<td height="30">something else</td>
</tr></table>
<td>Logo cell unlimited height<br/>
Logo cell unlimited height<br/>
Logo cell unlimited height<br/>
Logo cell unlimited height<br/>
Logo cell unlimited height<br/>
Logo cell unlimited height<br/>
Logo cell unlimited height<br/>
Logo cell unlimited height<br/>
Logo cell unlimited height<br/>
Logo cell unlimited height<br/>
Logo cell unlimited height<br/>
Logo cell unlimited height<br/>
Logo cell unlimited height<br/>
Logo cell unlimited height
</td>
</tr></table>
Powered by vBulletin® Version 4.2.0 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.