jpluttme Posted September 13, 2005 Posted September 13, 2005 I changed the code of the product_info.php table to move the image to the left hand side of the screen and have the title, text, and price hug the image on the right. The line of code I changed for the width was line 92, and I just added a width=50 attribute to the tag as seen in the snippet below. if (tep_not_null($product_info['products_model'])) { $products_name = $product_info['products_name']; } else { $products_name = $product_info['products_name']; } ?><!-- start product stuff --> <tr> <td><table border="0" cellspacing="6" cellpadding="6"> <tr valign=top> <TD width=50><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name']); ?></TD> This works great so long as the product has attributes. However, if there are no attributes for the product, the product table disregards the width attribute I added. IS there more code I missed or another file I need to alter to control the column widths of my tables in the product_info.php file? Thanks in advance. Justin
Recommended Posts
Archived
This topic is now archived and is closed to further replies.