Neilc Posted September 4, 2006 Posted September 4, 2006 Hi, Can someone help me, I seem to be missing something. Have followed the KnowledgeBase topic to remove left and right columns on a page by commenting out the following lines <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> (same for Left) However, this just leaves whitespace down the side. Have set the page to 770px centred and want the body text to fill up the entire space. Looking at the HTML generated, there are still empty table columns in there, which I assume are from the following statements just above the commented out "require" statement <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> //commented this out <!-- right_navigation_eof //--> The offending variable seems to be BOX_WIDTH which is set to "125" but I can't find it on a search. How can I zero it so the "body text" fills the page width? If I do, is BOX_WIDTH used elsewhere? Any other neater way to spread the body text across the ful page width? Thanks in advance Neil
Jack_mcs Posted September 4, 2006 Posted September 4, 2006 Each of the column_left and column_right colde you removed is in a table. You need to remove the table to get the space. For the left column, that code looks like <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> 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
Neilc Posted September 5, 2006 Author Posted September 5, 2006 Each of the column_left and column_right colde you removed is in a table. You need to remove the table to get the space. For the left column, that code looks like <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> Jack Thanks Jack - Simple when you engage brain - I should have spotted that myself - Ta very much :-) Cheers Neil
mnkumar Posted September 5, 2006 Posted September 5, 2006 I want to increase the width of the Left and Right columns. where do i find the values set for BOX_WIDTH? Thanks
jasonabc Posted September 5, 2006 Posted September 5, 2006 I want to increase the width of the Left and Right columns. where do i find the values set for BOX_WIDTH? /includes/application_top.php: define('BOX_WIDTH', 125); Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix
Recommended Posts
Archived
This topic is now archived and is closed to further replies.