Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Table & CELLPADDING, CELLSPACING


Logik

Recommended Posts

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...