![]() |
How do i center my layout
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 |
Re: How do i center my layout
You need to open skin1/rectangle_top.tpl and put a center to that table.
|
Re: How do i center my layout
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. |
Re: How do i center my layout
Cool, I was looking for guidance on how to do this, it worked a treat thanks carpeperdiem
|
All times are GMT -8. The time now is 11:26 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.