Posted By

tylerhall on 11/30/-1


Tagged

table hack width oscommerce


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

talaris


OSCommerce Table Width


 / Published in: HTML
 

  1. Change
  2.  
  3. <!-- body //-->
  4. <table border="0" width="100%" cellspacing="3" cellpadding="3">
  5. <tr>
  6. <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
  7. <!-- left_navigation //-->
  8.  
  9. To
  10.  
  11. <!-- body //-->
  12. <table border="0" width="770" cellspacing="0" cellpadding="0" align="center">
  13. <tr>
  14. <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
  15. <!-- left_navigation //-->
  16.  
  17. All of the files in the catalog folder plus the catalog/includes/header.php and catalog/includes/footer.php files will need to be changed. A quick find and replace in your editor will replace all the pages that have the same code as above in the catalog folder. The header.php and footer.php files have a little different code and would need to be manually changed.

Report this snippet  

You need to login to post a comment.