nightbeat
Posts: 6
|
Posted: 07/06/2006, 5:48 AM |
|
I want to display items in grid like amazon.com displays the products! The item details will be picked from a database table, including the path to its image, i want the application to display 3 items horizontally in a grid!
Currently there is only one item in each row of the grid, i want the grid to have multiple columns, how can i do that?
|
|
|
nightbeat
Posts: 6
|
Posted: 07/06/2006, 5:53 AM |
|
This site will clear out what i am trying to do, i want to display the items exactly like products appear on this website.
http://monza.com.pk
|
|
|
DonB
|
Posted: 07/06/2006, 12:55 PM |
|
You will want to change the html <table> structure into one that's comprised
of <div> elements. These can be stacked horizontally instead of the
vertical arrangement that a table produces. HINT: Create an outer <div>
container of a convenient width, then put the grid inside that. Define the
html for the grid so it produces <div> elements for each product, and set
the width to 1/3 of the outer <div>. This will display the items with 3 per
row'. Or, leave off the outer <div> and you'll get as many across the page
as can fit, then thwy will wrap around to the next row.
--
DonB
http://www.gotodon.com/ccbth
"nightbeat" <nightbeat@forum.codecharge> wrote in message
news:244ad07da93ef1@news.codecharge.com...
> This site will clear out what i am trying to do, i want to display the
items
> exactly like products appear on this website.
>
> http://monza.com.pk
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
|