PDA

View Full Version : Need table help



BigD86
18 May 2006, 12:17 AM
Forgive me for is these noob questions but everyone has to start out somewere.
Im putting together a website and slicing it in firworks. Now im not sure if im slicing it wrong or setting up the tables wrong but here is my problem.

My website is setup to have banner top and then a vertical navigation menu that goes about half way down the left side of the page and the a content box to the right. I want to have an expandable conten area that expands with the text but i cant seem to figure out a way to make a content area that expands without expanding the navigation menu on the left. Is there way i can have an expandable content area that doesnt effect the left vertical navigation menu.

Any help would be greatly appreciated and thank you for taking your time to read this.

Thank you
Daniel

Wickham
18 May 2006, 01:08 AM
See this example:-
http://www.wickham43.supanet.com/forumposts/threedivexample.html
<body>
<div style="width: 100%; background-color: green;"> <!--container-->
<div style="width: 100%; background-color: red;">
Banner across top of page
</div>
<div style="width: 200px; float: left; height: 300px; background-color: pink;">
Left column menus
</div>
<div style="margin-left: 200px; background-color: yellow;">
text text text text text<br>
text text text text text<br>
text text text text text<br>
</div>
</div> <!--end of container-->
</body>

PS I've just noticed that you asked for the table solution so I have added it below in the example online. Basically you put a table with fixed height inside the left cell of the main table.
<table width="100%" cellspacing="0"><tr>
<td colspan="2" bgcolor="red">Banner</td></tr>
<tr>
<td width="200" valign="top" bgcolor="green">
<table width="200" height="300" bgcolor="pink"><tr><td
valign="top">Left inner table column</td></tr></table>Left
outercolumn</td>
<td bgcolor="yellow">Text column<br>
text text text text text<br>
</td>
</tr></table>