Logik Posted December 31, 2003 Share Posted December 31, 2003 Ok, I'm trying to put CELLPADDING=5 CELLSPACING=5 to a table <td></td> but because of my <table></table> being CELLPADDING=0 CELLSPACING=0 the CELLPADDING=5 CELLSPACING=5 doesn't affect my <td></td>... Parafinart.com ---> Example : Check the left menu <td></td> <td WIDTH=196 HEIGHT=327 valign="top" bgcolor="#A2BBDA" CELLPADDING=5 CELLSPACING=5> <?php echo $breadcrumb->trail(' » '); ?><br> <?php if (tep_session_is_registered('customer_id')) { ?> <a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" ><?php echo HEADER_TITLE_LOGOFF; ?></a><br> <?php } ?> <a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" ><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a><br> <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" ><?php echo HEADER_TITLE_CART_CONTENTS; ?></a><br> <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" ><?php echo HEADER_TITLE_CHECKOUT; ?></a><br> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?></TD> help... I need to fix that before doing all the css... & ya also I'm having errors 500 when displaying som .gif any ideas why ? Link to comment Share on other sites More sharing options...
TerryK Posted December 31, 2003 Share Posted December 31, 2003 If I'm not mistaken, I believe you can find the cellpadding defined in each infobox .php file within the /catalog/includes/boxes folder. HTH, Terry Terry Kluytmans Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like: Add order total to checkout_shipment Add order total to checkout_payment Add radio buttons at checkout_shipping (for backorder options, etc.) Duplicate Table Rate Shipping Module Better Product Review Flow * If at first you don't succeed, find out if there's a prize for the loser. * Link to comment Share on other sites More sharing options...
mtimdog Posted December 31, 2003 Share Posted December 31, 2003 Or you might be able to get away with adding it to the td in column_left.php Link to comment Share on other sites More sharing options...
Logik Posted December 31, 2003 Author Share Posted December 31, 2003 still all the other box (NON osCommerce box) are callspacing 0 & cellspading 0 ... even if I change their td... If I change the main <table. all my page is gonna be a mess .. so I'm screwed ... including it in the menu_left.php won,t help eighter... <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>(...) <td WIDTH=196 HEIGHT=327 valign="top" bgcolor="#A2BBDA" CELLPADDING=5 CELLSPACING=5> <?php echo $breadcrumb->trail(' » '); ?><br> <?php if (tep_session_is_registered('customer_id')) { ?> <a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" ><?php echo HEADER_TITLE_LOGOFF; ?></a><br> <?php } ?> <a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" ><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a><br> <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" ><?php echo HEADER_TITLE_CART_CONTENTS; ?></a><br> <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" ><?php echo HEADER_TITLE_CHECKOUT; ?></a><br> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?></TD> (...) </table> Link to comment Share on other sites More sharing options...
trendyfashion Posted December 31, 2003 Share Posted December 31, 2003 Dont forget the " " cellpadding="5" I found this affects fonts if you do not use them. The Wiki Docs: Read them, live them and be thankful for them! Link to comment Share on other sites More sharing options...
Logik Posted December 31, 2003 Author Share Posted December 31, 2003 just tried adding "" doesn,t affect anything .. anyways when online with IE in source coe it doesn't affect anything... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.