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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Place 2 tables next to each other

Status
Not open for further replies.

rmittal

Programmer
Aug 8, 2000
8
US
I need help in placing 2 table side-by-side. I have 2 tables of 2 columns and n number of rows. I want them to be placed next to each other instead of placing them one below the other. I do not want to use frames. Is there a way I can do this?
 
Enclose each of the two tables in a separate cell of an intermediate table like this:


[tt]
<table border=2>
<tr>

<td>
<table border=1>
<tr>
<td>&quot;cell 1</td>
<td>&quot;cell 2</td>
</tr>
<tr>
<td>&quot;cell 1</td>
<td>&quot;cell 2</td>
</tr>
</table>
</td>


<td>
<table border=1>
<tr>
<td>&quot;cell 1</td>
<td>&quot;cell 2</td>
</tr>
<tr>
<td>&quot;cell 1</td>
<td>&quot;cell 2</td>
</tr>
</table>
</td>

</tr>
</table>
[/tt]
 
Oh, and remove the &quot;border=2&quot; from the first table to make it invisible!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top