Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Infobox Spacing


Guest

Recommended Posts

Hi , Im needing a little pointer.

 

i have worked out how to move boxes round between columns etc..

 

but what i need to do is close the vertical spacing between some boxes

 

is it possible to adjust each and every box seperate..???

 

im sorry if this has been asked , i have tried the search but didnt find much success.

 

thanks in advance

Link to comment
Share on other sites

Hi , Im needing a little pointer.

 

i have worked out how to move  boxes round between columns etc..

 

but what i need to do is close the vertical spacing between some boxes

 

is it possible to adjust each and every box seperate..???

 

im sorry if this has been asked , i have tried the search but didnt find much success.

 

thanks in advance

 

the vertical spacing is done by this line in the main pages:

 

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

 

if you set the cellpadding to 0, the space between the boxes goes away.

You can then insert individual spacing.

Treasurer MFC

Link to comment
Share on other sites

If you want individual control of the spacing, then you could do this. Open up the column file and place the following between each box:

?> <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
<?php

Then adjust the 10 above (height) for what you want.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...