Products     Magento Extension     PCI-Shopping-Carts     Templates       CRELoaded     WordPress Modules     osCommerce Modules       osCommerce Addons       osCommerce Features       osCommerce Management       Payment Modules     CRELoaded Modules       CRE Loaded Addons       CRE Loaded Features       CRE Loaded Management       Payment Modules       CRELoaded Services
Free Stuff
Customization
Templates
Compare Products
You have no items to compare.
Affiliate Info
Affiliate Program FAQ
Affiliate Log In
Recent Orders
Hot Keywords: Order Notification, Order Search, Coupon, Flash Board, Compare, Floating Message, Tracking, Moneris, RSS, Visitor Filter

  osC-CenterShop v2.1 for MS2

The following osCommerce contribution is a free Opensource code originated from official osCommerce website and provided for your reference only, you may download the original contribution file(s) and install it on your own; or you may request a Paid Installation Service from Agents Of Power; Agents Of Power does the "AS IS" installation on your website, we do not guarantee it will work properly on your website. Extra Paid service is available for repairing the problem from the original contribution or from your website.
An update to address bits many seem to miss!!


I thought I`d add this to this contrib as people keep asking.

This gives a much simpler technique than before so if you prefer the table way use an older edition.

To center & size Shop

At the very start of header.php add:

<div id="content">

then at the very bottom of footer.php add:

</div>

then add to your css:

#content {
width: 900; margin: auto;
border: 1px solid #999999;
text-align:center;
}

That part deals with centering in firfox etc and setting site width & borders.

Obviously set width above to whatever you need.



Add to the BODY tag

text-align:center; so you get like:

BODY {
background: #ffffff;
color: #000000;
margin: 0px;
text-align:center;
}


That part ensures the site is centered in internet explorer.

Thats It!!


The attached has same plus technique for different width header/footer to content:

Works with all osC versions
   Posted on: 10/01/2009     See contribution details Request Installation with Paid service