JEWbacca Posted January 13, 2006 Posted January 13, 2006 I added this to my stylesheet: } .CustBorder { border: 1px solid #ed0f87; } Then changed the line in my index.php that reads: <tr><td align="center" class="smallText" width="' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br></class>' . $categories['categories_name'] . '</a></td></tr>' . to: <tr><td align="center" class="smallText" width="' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '"class="CustBorder">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br></class>' . $categories['categories_name'] . '</a></td></tr>' . The only change here was that I added class="CustBorder" . The problem is that it seems that the border is only on the left side and the bottom of the image (not the right and top). Also how can this be changed so the text is not bordered also (only the image)? Thanks in advance for any ideas. Nathan Levy
JEWbacca Posted January 13, 2006 Author Posted January 13, 2006 Here is how the borders look now: Its all very odd to me..... Any ideas? Thanks in advance, Nate
Recommended Posts
Archived
This topic is now archived and is closed to further replies.