View Full Version : Setting Width Of Os Commerce Problem

02-18-2003, 01:36 PM
Ok ... So i have just uploaded and done the basics and everything is hunky dory.
Apart from Exercise 2 Setting the Width of osCommerce In the Modifcations guide to Osc.
I do exactly what it says and the default page is centered aligned and is 750 pixels wide just like it says in the tutorial. However when i click on a product ( Still got the original Iyem Listings atm) say Frantic DVD ... the header and footer stay 750 and centred but the Middle section fills the entire screen.

Am i missing somthing here ? Is there somewhere else that i need to paste

<!-- body //-->
<table border="0" width="750" cellspacing="1" cellpadding="1" align=”center”>
<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
before my category and product listings obey this rule and only fill 750 pixels of the screen.

Any help appreciated

With Best Regards


02-18-2003, 01:48 PM
If you want to see what i mean please click on any of the items from the first page


please help as it is always the little things that bug me the most.

02-18-2003, 08:36 PM
Yes you are missing a key point. You have to make this modification in every php file in the main catalog directory, not just default.php