Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Centering my webpage?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-23-2008, 06:19 PM
 
Halloween2007 Halloween2007 is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 43
 

Default Centering my webpage?

How can I bring my website to the center of the page?
__________________
X-Cart Gold (4.2.3)
www.accessoryimporters.com
Reply With Quote
  #2  
Old 10-24-2008, 12:40 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Centering my webpage?

Quote:
Originally Posted by Halloween2007
How can I bring my website to the center of the page?

You need edit class "TABLE.Container" in the file "skin1/skin1.css":

PHP Code:
TABLE.Container width960pxmargin-leftautomargin-rightautobackground-color#FFFFFF; } 


width:960px - width central part.
Reply With Quote
  #3  
Old 10-26-2008, 10:56 AM
 
Halloween2007 Halloween2007 is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 43
 

Default Re: Centering my webpage?

How can I make the width smaller? And Do I have to keep the hight at a 100%
__________________
X-Cart Gold (4.2.3)
www.accessoryimporters.com
Reply With Quote
  #4  
Old 10-26-2008, 11:02 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Centering my webpage?

Change the width from 960 to whatever you want
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 10-26-2008, 11:14 AM
 
Halloween2007 Halloween2007 is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 43
 

Default Re: Centering my webpage?

Do I go 960 up or do I go 960 down, How those that work?
__________________
X-Cart Gold (4.2.3)
www.accessoryimporters.com
Reply With Quote
  #6  
Old 10-26-2008, 11:22 AM
 
neroag neroag is offline
 

Senior Member
  
Join Date: May 2005
Location: UK
Posts: 171
 

Default Re: Centering my webpage?

960 down (ie 800) makes the width smaller & 960 upwards ie (ie 1024) will make it wider
__________________
X-cart Gold - 4.0.18 - 4.1.9 - 4.1.10 - 4.3.0
Reply With Quote
  #7  
Old 10-26-2008, 11:32 AM
 
Halloween2007 Halloween2007 is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 43
 

Default Re: Centering my webpage?

Thank you.
__________________
X-Cart Gold (4.2.3)
www.accessoryimporters.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:25 AM.

   

 
X-Cart forums © 2001-2020