luca75 Posted July 19, 2004 Posted July 19, 2004 I Have delete right infobox column and now I want expand to the right the width of center table How I cand do that ? Thank you
rescamilla Posted July 19, 2004 Posted July 19, 2004 Edit index.php in the base folder and look for "<!-- body //-->", right after that starts the html for the main table, just enter your width tag. Note: You will also have to enter a width for the header and footer tables in their respective files....header.php and footer.php in the includes folder. -Ray
luca75 Posted July 20, 2004 Author Posted July 20, 2004 Thank you fro your replay, but the table is still 100% width, there is a blank space for right boxes that I have delete, I don't want this blank space
winstanley_john Posted July 20, 2004 Posted July 20, 2004 column_right.php is included in a number of files in Oscommerce it is included inside td tags you need to remove the enclosing td tags for example on index.php you should see code similar to <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> I usually just comment out that whole section <!--<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>--> http://spaces.msn.com/members/JohnWinstanley/ http://www.angelsolutions.co.uk
winstanley_john Posted July 20, 2004 Posted July 20, 2004 doh http://spaces.msn.com/members/JohnWinstanley/ http://www.angelsolutions.co.uk
rescamilla Posted July 20, 2004 Posted July 20, 2004 I think I kind of understand what he is saying. He deleted the right column, so now his site has a big white space on the right and the headers and footers probably span the entire page which does not look proportionally correct. Maybe you should drop the entire site into a table container that has a fixed width and is centered on the screen. Kind of like what I am doing with this site: http://www.emarking.com/shopavon/ -Ray
luca75 Posted July 20, 2004 Author Posted July 20, 2004 Hi rescamilla, your site is almost default OSC, I have delete right boxes like shopping cart, bestseller, reviews, now I want that center infobox New Products For July will be 100% to le right, because now I have to the right blank space
luca75 Posted July 21, 2004 Author Posted July 21, 2004 Now work ! Remove from index.php and other files this code: <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH_RIGHT; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH_RIGHT; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //-->
Recommended Posts
Archived
This topic is now archived and is closed to further replies.