We Recommend

HTML: The Definitive Guide HTML: The Definitive Guide
They teach you that learning HTML is like learning any other language and that reading a book of rules can only take you so far. Readers begin writing what may be their first Web page just two pages into the book's second chapter. From there on, they provide a wide range of HTML coding to allow readers to learn from good examples. The book includes a handy "cheat sheet" of HTML codes for quick reference.


Posted By

tylerhall on 12/31/69


Tagged

table hack width oscommerce


Versions (?)


Who likes this?

1 person has 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.