Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Site Size Width


2johnsons

Recommended Posts

Posted

Can someone please tell me how I can adjust the size of the site, it's to big and I would also like to know how I can go bout centering the site into the middle of the screen/page.

Posted
I can tell you that double-posting is against forum rules.

 

Vger

 

 

Thank you for that information I did not know that. Im what you call a newbie.

Posted

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

Archived

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

×
×
  • Create New...