alougher Posted November 17, 2002 Posted November 17, 2002 This is frustrating. I followed the simple change as it appears in the oscdox modification guide to change the width of my cart to fit a 800x600 resolution. The change wasonly needed to the default.php and header/footer.php files. The change was: "<table border="0" width="750" cellspacing="1" cellpadding="1" align="center"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">" While this changed the header and footer successfully. The category boxes are way over on the left while the "new products" box at the bottom still stretches out 100% to the right of the screen. Am I missing something here? Any help appreciated, I've scoured the forums and cannot find a solution. BTW the search function on this forum doesn't work properly and never returns the correct results on keyword search. Thanks in advance!
alougher Posted November 18, 2002 Author Posted November 18, 2002 To add: All sub-categories except the final product item screen AND the top most screen are aligned correctly.
alougher Posted November 21, 2002 Author Posted November 21, 2002 Can anyone help me on this at all? You can see what I am experiencing at: http://hogplum.com/catalog/contact_us.php and http://hogplum.com/catalog/specials.php (right frame squashing items). The rest of the site seems ok. Appreciate any help whatsoever - we go live next week. Thanks a lot!
Guest Posted November 21, 2002 Posted November 21, 2002 Just a thought here... try using a percentage width, I had to do that with my pages. Hope that helps, Violet
burt Posted November 21, 2002 Posted November 21, 2002 Undo all of oyur changes that you followed in OscDox. Open up /includes/header.php. Find this line (pretty much the 1st line or normal HTML code): <table border="0" width="100%" cellspacing="0" cellpadding="0"> Directly BEFORE it, add <table border="0" width="717" cellspacing="0" cellpadding="0" align="center"> <tr> <td> Open /includes/footer.php. Find the line (this is the VERY LAST line): <?php } ?> Add directly AFTER it: </td> </tr> </table> Notes: Why 717px ? This is the optimum width to allow for users of non-standard 800 browsers, and for those who have the Micro$oft Office bar open.
alougher Posted November 22, 2002 Author Posted November 22, 2002 Well if I only knew that a week ago! Much much better, although I still have problems: Although I could set back most of the pages to "100%" instead of hardcoding the pixel width into all pages, my account, and ALL the pages except the default.php (main page and categories) are still squashed. In particular, My Account even stretches beyond 717 pixels! Any further help really appreciated..I'm really close I know it! Thanks.
alougher Posted November 22, 2002 Author Posted November 22, 2002 Well, don't ask how or why, but if I change this: "<!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">" to: <!-- body_text_eof //--> <td width="1" valign="top"><table border="0" width="1"cellspacing="0" cellpadding="2"> it works perfectly!
gastongr Posted March 31, 2005 Posted March 31, 2005 And in what file did you changed that alougher? In my html output i see something i don't like around the <!-- body_text_eof //--> tags and i'd like to change it but i don't know what's the php file. :blush: Thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.