Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Verticle spacing of infoboxes


Recommended Posts

I decided to remove the spacing between the infoboxes in the left and right columns.


I searched for methods on how to do this in past messages. Most of those messages suggested changing the cellpadding attribute for the column tables in the index.php file -- as well as in all other main pages.



I found an easier way to do this by posting the following lines at the beginning of column_left.php and column_right.php:


-------- create a new table with no cell padding ----------------------------


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




and this line at the end of those files:


----------- close table -------------------------






If I want to add spacing between any particular infoboxes then I can insert the following spacer between the appropriate includes




----------- to create controlled spacing ---------------------


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



Link to comment
Share on other sites


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

  • Create New...