PDA

View Full Version : image placing


tiePo
28-Feb-2003, 04:01 PM
I need to change the layout of product images to left to right rather than from top to bottom.

Any ideas

garyhay
28-Feb-2003, 07:51 PM
search the forum for display products in colums

cdicken
03-Mar-2003, 11:31 AM
By default, Act_ProductBody.html sets up a 500 pixel-wide table with three columns that all the products are laid out within. Each Product Layout template (e.g. Act_ProductLine.html) then inserts the rows within that table.

In order to lay them out left to right, you just need to have one row, containing multiple cells. Therefore, Act_ProductBody.html would look like this...


<TABLE BORDER="0" CELLPADDING="10" CELLSPACING="0" ALIGN="CENTER">
<tr>
NETQUOTEVAR:PRODUCTBULK
</tr>
</TABLE>

And then each product layout template would look like this...

NETQUOTEVAR:ENDSEPARATOR
NETQUOTEVAR:PRODUCTFORMBEGIN
<td>

product code

</td>
NETQUOTEVAR:PRODUCTFORMEND
NETQUOTEVAR:NEXT

Hope that gives you a place to start.

memix
14-Jul-2003, 11:07 AM
Chris

Setting up the products so that the catalog shows 2 products per row is something I am playing with and I am usein Norman's code to do this.

However, there is a lot of white space between the left hand side of the web page and the left most product. How do I shift where the columns for the two products actually start from?

cdicken
16-Jul-2003, 08:15 AM
Try removing the ALIGN="CENTER" from the line that reads

<TABLE BORDER="0" CELLPADDING="10" CELLSPACING="0" ALIGN="CENTER">

in Act_ProductBody.html