Tables  | |
June 5th, 2002, 04:01 PM
|
#1 (permalink)
| | Member
Join Date: Feb 2002
Posts: 92
|
I want to put 2 tables next to each other from left to right across the screen. I want to type a list of stuff on the right side, but if i have a 3 column table, the 1st and 2nd column extend to the same length of the 3rd column. How do i set the 3rd column to extend separately?
__________________
Visit my Flash web site!!
http://magicfan89.150m.com/
|
| |
June 5th, 2002, 04:09 PM
|
#2 (permalink)
| | Ultimate Member
Join Date: Oct 2001
Posts: 1,542
|
If the tables are unrelated ie it doesn't matter if their rows aren't aligned, I reckon your best bet is to package each table in a <div> and use absolute positioning to put them side by side. |
| |
June 5th, 2002, 04:11 PM
|
#3 (permalink)
| | Ultimate Member
Join Date: Oct 2001
Posts: 1,542
|
Or (not, strictly speaking, legitimate HTML) you could use nested tables: PHP Code: <table><tr><td>
<table>
...
</table>
</td><td>
<table>
...
</table>
</td></tr></table>
|
| |
June 5th, 2002, 04:17 PM
|
#4 (permalink)
| | Member
Join Date: Feb 2002
Posts: 92
|
Is there any way to do this with netscape ccomposer? |
| |
June 5th, 2002, 05:00 PM
|
#5 (permalink)
| | Ultimate Member
Join Date: Oct 2001
Posts: 1,542
|
No idea, never used the program. I write all my web pages myself  |
| |
June 6th, 2002, 12:17 AM
|
#6 (permalink)
| | Member
Join Date: Feb 2002
Posts: 92
|
I thought of another way to do it, but now i have a new question : I will make a left side frame, right side frame, and middle part of my site. But now I want to know how to make them all scroll together.If u scroll down in the middle, u should also be able to be scrolling down on the left and right sides. |
| |
June 6th, 2002, 06:23 AM
|
#7 (permalink)
| | Ultimate Member
Join Date: Oct 2001
Posts: 1,542
|
Sorry, not possible. Frames are separate documents. You can't even do it with JavaScript, as there's no Scroll event in the DOM, or at least not in the IE or Gecko DOMs. |
| |
June 16th, 2002, 05:41 PM
|
#8 (permalink)
| | Member
Join Date: May 2002 Location: Pearl Harbor
Posts: 57
|
If I'm understanding you correctly, you want to have your columns at a fixed width?? to do that just add a value to the <td> thus your html would look something like:
<table>
<tbody>
<tr>
<td width="any value you want">...</td>
<td width="any value you want">...</td>
<td width="any value you want">...</td>
</tr>
</tbody>
</table>
hope this helps |
| | | Thread Tools | Search this Thread | | | | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Most Active Discussions | | | | | Recent Discussions  | | | | | |