Zuncan Posted June 29, 2004 Posted June 29, 2004 Hi! ;) I want to have a border around my images in the productlisting pages. The code for the images looks like this: if (PRODUCT_LIST_IMAGE > 0) { $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br>'; } When a mean a border around my productimages I mean one like this. Translated in raw HTML: <Img src="image.jpg" Border="1" Bordercolor="Pink"> Would be more than greatful if someone could help me out and modify the code as it should look like. / Zuncan - The one who asks alot, but also helps alot So what?! Who care in a hundred years anyway?
burt Posted June 29, 2004 Posted June 29, 2004 if (PRODUCT_LIST_IMAGE > 0) { $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'class="pinkborder"') . '</a><br>'; } stylesheet.css: .pinkborder { border: 1px solid pink; }
Zuncan Posted June 29, 2004 Author Posted June 29, 2004 Thanks Gary! It?s just what Im after So what?! Who care in a hundred years anyway?
Zuncan Posted June 29, 2004 Author Posted June 29, 2004 Didnt work.. I did exactly what you said. Is it possible that I need to ad some code to classes/boxes.php? So what?! Who care in a hundred years anyway?
Zuncan Posted June 29, 2004 Author Posted June 29, 2004 Wait a minute! It.. Its.. Its.. working!! Thanks! To bad youre to far away for a hug man! ;) So what?! Who care in a hundred years anyway?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.