Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Site Size Width


2johnsons

Recommended Posts

spooks' method works the best

 

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;
}

and add to the BODY tag

text-align:center;

Obviously set width above to whatever you need.

Thats It!!

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

Works with all osC versions

 

from here

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...