View Full Version : How do I centralise SW ?
Hello,
Can someone please provide clear instructions on how to achieve a centered shop with a fixed width in Version 3
It would also be good to provide a column on the right hand side for additional content, which may or may not be AW content.
best regards
Hi
Find the container div in the style sheet and add:
margin-left:auto;
margin-right:auto;
width: XXXpx;
But, judging by the simplicity of the answer and the specificity of the question, I'm assuming you are pretty new to web coding, in which case:
1) go here: http://www.htmlcodetutorial.com/ and learn about html
2) go here: http://www.csstutorial.net/ and learn about css styling
3) play around with what you've learnt and add the above code into the style sheet now you know what it means.
4) congratulate yourself that youve learnt 2 new languages in less than a week (probably less).
5) come back and we'll tell you how to add that extra column (div) on the right.
:D
Hello Andy,
I thank you for your contribution, I have tried your suggestion, and have found that it does not work.
I do not need to be patronised by you or anybody else.
Obviously, the simplicity of the answer, is provided by you providing an incorrect solution.
The specivity of the question remains.
best regards
David
In that case, wrap your SW SITE in CENTER tags, eg:
<center>
YOUR ENTIRE SW SITE
</center>
no matter what, that will center your site.
and to add the extra column on the right:
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
YOUR ENTIRE SW WEBSITE GOES HERE
</td>
<td width="XX">
HERE IS YOUR RIGHT COLUMN
</td>
</tr>
</table>
If you use both my Suggestions and you find all your text is being centered within the table add align="left" to the Table tag.
Remember to change XX to the number of pixels width you want your right column to be this time. :rolleyes: