Page 1 of 1

displaying rows

Posted: Mon Apr 23, 2007 7:45 pm
by aceconcepts
Hi,

I am making a page that display data from a database such as products.

I am able to display 1 product per row but I want to be able to display 3 products per row.

How can I do this?

Thanks.

Posted: Mon Apr 23, 2007 8:07 pm
by Ambush Commander
It depends on your existing HTML code. Are you using a table or a list?

Posted: Mon Apr 23, 2007 8:10 pm
by aceconcepts
i am using tables

Posted: Mon Apr 23, 2007 8:46 pm
by Ambush Commander
One more question, would you like the table to be ordered like:

Code: Select all

1 | 2 | 3
4 | 5 | 6
7 | 8 | 9
or

Code: Select all

1 | 4 | 7
2 | 5 | 8
3 | 6 | 9

Posted: Tue Apr 24, 2007 5:02 am
by aceconcepts
I would like it to be ordered like the first example 1 2 3

Posted: Tue Apr 24, 2007 7:31 am
by feyd
Take a look at Useful Posts; the first link in it.