This text file shows you how to easily make your osCommerce website a fixed width site, centred on the screen, with a border, and contrasting background (if required). It uses CSS to accomplish this. It is a simple modification.
Legend: 
Download

Report
This is updated to include the GPL licence - otherwise no changes.
Taking my original code, and merging it with Devhype's idea of applying the new div class only to the header and footer this new file significantly reduces the number of changes that have to be made to just 3 in total, whilst working with both IE and Mozilla based browsers.
Please note that the amendment posted by DevHype on the 14th Dec 2004, does not work for the Firefox browser, and results in the page being aligned to the left only. The original works for both IE and Firefox.
oops! corrected read me where it stated:
replace all instances of:
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
with:
</body>
Should have been replace with
<body>, not </body>
my bad, thanks for pointing that out to me.
Just a few changes, original could effect internet explorer. Also only need to change 3 files instead of every file in category root.
This text file shows you how to easily make your osCommerce website a fixed width site, centred on the screen, with a border, and contrasting background (if required). It uses CSS to accomplish this. It is a simple modification.