| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How do i center my layout | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() How do i center my layout. I like to have a website that is centered. with shoot by 948px
i use x-cart 4.1.8 i have edit customer/home.php --> <table width="948" cellpadding="0" cellspacing="0" align="center"> Can any one tell me how i can edit my template to center my website? greets, martijn
__________________
martijn |
|||||||
#2
|
|||||||||
|
|||||||||
![]() You need to open skin1/rectangle_top.tpl and put a center to that table.
__________________
v 4.1.8 and v 4.1.9 WIN XP: Apache 2.2.4, PHP 5.2.3, MySQL 5.0.45 UNIX: Apache 1.3, PHP 4.4.4, MySQL 5.0.22 |
|||||||||
#3
|
|||||||
|
|||||||
![]() Instead of editing the templates (using a <center> tag is not recommended), you can simply edit the css class that is controlling the entire table --
TABLE.Container Try adding/editing these elements to TABLE.Container (in skin1.css): TABLE.Container { width: 948px; margin-left: auto; margin-right: auto; background-color: #FFFFFF; } There are other ways to do this. This works for me.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#4
|
|||||||
|
|||||||
![]() Cool, I was looking for guidance on how to do this, it worked a treat thanks carpeperdiem
__________________
Chris Barber Version 4.1.9 MOD - BCSE Shipping Estimator MOD - Shopzilla Feed MOD - Price Match with Captcha MOD - Links Manager 2008 MOD - One Page Checkout MOD - Sitemap |
|||||||
|
|||
X-Cart forums © 2001-2020
|