View Single Post
  #2  
Old 04-07-2008, 04:35 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: How To Center All Pages

One way to do this:

in your css file:

Code:
TABLE.Container { width: 960px; margin-left: auto; margin-right: auto; background-color: #FFFFFF; }

By using margin-left: auto and margin-right: auto, whatever is NOT specified for the container width is essentially centered.

Try it with a low width setting (800)- then try it with 960 (which is great for a 1024 screen).

Helpful?
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote