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

Can I put 2 html tables side by side?

Status
Not open for further replies.

sweetleaf

Programmer
Jan 16, 2001
439
CA
Hi,

Is it possible to line up the results of seperate recordsets (in the form of 2 tables side by side) in asp without having to use SHAPE?

I'm basically selecting all dealer numbers into rst1
then i'm selecting all their related stats into rst2(which is an extremely complicated query with various correlated sub queries so need to be implemented as 2 recordsets seperately).

I've gotten as far as displaying all the data by using 2 seperate do while loops, but cannot format the data in asp/html properly - so that it all looks like its in one instead of 2 tables.

NOTE:The data in each will always correlate, so their row counts will always be the same.

Any help is so appreciated,
Mark
 
hi mark,

you could try putting your tables inside another table, like this...

<table>
<tr>
<td>

...
your table
...

</td>
<td>

...
your table
...

</td>
</tr>
</table>

as long as you have the same formatting on your two tables, the rows should line up.

hope this helps

ss...
 
to line them up, just put in the td's of the outter table valign=&quot;top&quot;.

This way, both cols will be aligned to the top of the column. Anikin
Hugo Alexandre Dias
Web-Programmer
anikin_jedi@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top