Table help..

liunx

Guest
ok, sorry but i dont have any example of this or anything as i've just got it on my PC and its still in the development stages but here goes:<br />
<br />
on the webpage, i have 3 columns, two for navigation (thins ones on left and right) then a wide one in the middle for the content. On each of the navigation columns, i have 4 rows, but everytime i enter a lot of content into the middle row, it stretches the side columns out of the length they originally were, is there any way of getting the navigation tables to stay the same length while letting the central column (the one for content) run down as far as it wants to down the page without it strething the left and right columns?<br />
<br />
if this makes no sense to you, ill find a host and upload it, but i think it makes sense.<br />
<br />
cheers.<!--content-->ok, i uploaded it if that helps at all, excuse the lack of a banner at the top:<br />
<br />
<!-- m --><a class="postlink" href="http://mysite.freeserve.com/robbomoscow/home2.html">http://mysite.freeserve.com/robbomoscow/home2.html</a><!-- m --><!--content-->ok your problem is that you can't streatch the middle cell without streatching the other cells the solution is to have all the content for your left and right navigation areas in seporate tables<br />
<br />
<br />
<table width="100%" border="0" cellpadding="5"><br />
<tr><br />
<td width="120" valign="top"> <br />
<table width="120" border="0" cellpadding="5"><br />
<tr><br />
<td>content for left nav in this table</td><br />
</tr><br />
<tr><br />
<td>&nbsp;</td><br />
</tr><br />
<tr><br />
<td>&nbsp;</td><br />
</tr><br />
<tr><br />
<td>&nbsp;</td><br />
</tr><br />
</table></td><br />
<td valign="top">content for main area here therefore this table can streach <br />
all the way down and the navigation will stay where it is</td><br />
<td width="120" valign="top"> <br />
<table width="120" border="0" cellpadding="5"><br />
<tr><br />
<td>content for right nav in this table</td><br />
</tr><br />
<tr><br />
<td>&nbsp;</td><br />
</tr><br />
<tr><br />
<td>&nbsp;</td><br />
</tr><br />
<tr><br />
<td>&nbsp;</td><br />
</tr><br />
</table><br />
</td><br />
</tr><br />
</table><br />
<br />
<br />
Hope this helps<br />
<br />
Bonkom :pimp:<!--content-->where i enter the content for the left nav (and right), i need to enter it all within an extra table, right?<!--content-->ok you have to make all the content on the right and left in a seperate table. keep what you have just add another table inside that cell so make those links stay at the top becasue you can valign them.<br />
<br />
I see you have alot of errors and should be corrected before you do this.<br />
<br />
you have a lot of tag problems like 2 <body> tags and you are suppose to have 1.<br />
<br />
also you have nesting problems<br />
<br />
<table bordercolor="#000040" border="1" cellpadding="0" cellspacing="0"><br />
<td><tr><img src=http://www.htmlforums.com/archive/index.php/""></tr></td></table><br />
<br />
that won't fly, also you shouldn't have any empty cells, if you want an empty cell you have to put &nbsp; in it.<!--content-->Originally posted by Robbo Moscow <br />
where i enter the content for the left nav (and right), i need to enter it all within an extra table, right? <br />
<br />
correct just make sure that you use valign="top" in the main table's td's or all your work will look messed up <br />
<br />
P.S not quick enough scoutt<!--content-->:sniff: I know I am a slacker today :D besides I was letting everybody else get a chnace to answer :P<!--content-->cheers, ur both saints.<br />
<br />
btw, whats wrong with:<br />
<br />
<table bordercolor="#000040" border="1" cellpadding="0" cellspacing="0"><br />
<td><tr><img src=http://www.htmlforums.com/archive/index.php/""></tr></td></table><br />
<br />
it isnt just the fact i havent inserted an image is it?<!--content-->yes on eis you don't have an image in the source. if you want a blank just add &nbsp;<br />
<br />
and look at the code for that.<br />
<br />
tell me what is wrong with this<br />
<br />
<table bordercolor="#000040" border="1" cellpadding="0" cellspacing="0"><br />
<td><tr><img src=http://www.htmlforums.com/archive/index.php/""></tr></td></table><!--content-->fair enough, i changed it, didnt insert the image source cause i dont yet have an image. Anyway, excuse my ignorance, its kinda a familty trait.<br />
<br />
cheers.<!--content--><td><tr><img src=http://www.htmlforums.com/archive/index.php/""></tr></td></table><br />
<br />
I don't think the clue was quite big enough Scoutt!<br />
<br />
Of course, the <TD> should be inside the <TR>, not outside it.<br />
One or more pieces of Table Data go inside a Table Row.<br />
<br />
One or more Table Rows are used make up a Table.<!--content-->
 
Back
Top