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

horizontally aligned tables

Status
Not open for further replies.

cm80

Technical User
May 3, 2001
85
US
Hi,
Is it possible to have the records in a table aligned horizontally rather than vertically?

ie
Fruit Apple Pear
Toy Ball Kite

instead of
Fruit Toy
Apple Ball
Pear Kite

I am using a dynamic array to populate the table.
Thank you
 
Assuming aryStuff is the original redim'd array:

Dim c,r

Response.Write &quot;<TABLE>&quot;

For c=0 to Ubound(aryStuff,1)
Response.Write &quot;<TR>&quot;
For r=0 to Ubound(aryStuff,2)
Response.Write &quot;<TD>&quot; & aryStuff(c,r) & &quot;</TD>&quot;
Next
Response.Write &quot;</TR>&quot;
Next

Response.Write &quot;</TABLE>&quot;




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top