Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table lenghts 1

Status
Not open for further replies.

mak2112

IS-IT--Management
Aug 8, 2001
46
I am using a table to seperate the left hand column of my page, so that i can put some quick links in that section. the problem is that i cannot seem to get the column to span the entire page. When the right hand columns has writing in it that goes past the column length the left hand column is not continuing and this causes my work in the right colomn to become shifted after the left column ends. is there away to make the left column continue all the way down the page?

thanks in advance
 
<table>
<tr>
<td rowspan=&quot;2&quot; valign=&quot;top&quot;>
link1<br>
link2<br>
</td>
</tr>
<tr>
<td>Long content goes here</td>
</tr>
</table>

I think this will work for you. Use a width attribute in the first td tag to control the width of the link column.
 
i think i did not explain properly what i meant. if you were to take the tek-tips page you are reading now, they have a column on the left with your links and then this area where there is typing. what i want to do is make the column on the left run from the top of the page to the bottom of the page. if i give it a height of 100% it still cuts off from going all the way down the page, so that if my information or text in this area goes past it, the lines that do get aligned to the left hand side.
 
threw this together pretty quickly but is it what you are looking for
<table>
<tr>
<td align=left valign=top style=&quot;height:800px;&quot;>
<table>
<tr>
<td>blah</td>
</tr>
<tr>
<td>blah</td>
</tr>
<tr>
<td>blah</td>
</tr>
<tr>
<td>blah</td>
</tr>
</table>
<td align=right valign=top style=&quot;height:800px;width:450px;&quot;>
<table>
<tr>
<td align=center border=1>header</td>
</tr>
<tr>
<td align=center border=1>main body</td>
</tr>
</table>
</td>
</tr>
</table> _______________________________________________
{ str = &quot;sleep is good for you. sleep gives you the energy you need to function&quot;;
ptr = /sleep/gi;Nstr = str.replace(ptr,&quot;coffee&quot;);alert(Nstr); }

_______________________________________________
for the best results to your questions: FAQ333-2924

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top