CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Regarding Grids

Print topic Send  topic

Author Message
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?
View profile  Send private message
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
View profile  Send private message
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/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.