Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Layout help


Guest

Recommended Posts

you're probably refering to the table margins of the catalog scripts. Open the catalog\index.php find this code:

 

<!-- body //-->
<table border="0" width="100%" cellspacing="3" cellpadding="3">
 <tr>
<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

 

Adjust the cellspacing and cellpadding, for instance you could set them to 0 to see if that's what you want.

Link to comment
Share on other sites

you're probably refering to the table margins of the catalog scripts. Open the catalog\index.php find this code:

 

<!-- body //-->
<table border="0" width="100%" cellspacing="3" cellpadding="3">
 <tr>
<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

 

Adjust the cellspacing and cellpadding, for instance you could set them to 0 to see if that's what you want.

 

I further figured out you need to do this in conditions.php. too! Are there more I wonder?

Even at "0" there seems to be 1pixel space on the outside of the colums, which might be due to the

wrapper table... so getting close but no cigar yet! I might try css DIV tag to wrap everything instead of the table. Any other suggestions?

Link to comment
Share on other sites

hmm..., I stilll see the table with a cellspacing=2 Looks like

 

<table border="0" width="100%" cellspacing="2" cellpadding="0">

 

and yes almost every scipt on the catalog directory needs to be changed for this unless you're using some common code via include files.

Link to comment
Share on other sites

hmm..., I stilll see the table with a cellspacing=2 Looks like

 

<table border="0" width="100%" cellspacing="2" cellpadding="0">

 

and yes almost every scipt on the catalog directory needs to be changed for this unless you're using some common code via include files.

 

Thanks for your input, I returned the settings! I need to consider a different way to achieve this globally.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...