-
the auto solution
I’ve been trying to get my main content to be in the centre of the page for ages! I’ve tried a few things - one which I thought seemed very logical, to set the left and right margins to 10% and the width to 80%.
This was not yielding the results.But with the help of these guys:
http://www.wpdfd.com/issues/82/centering_your_web_site_with_css/
I have discovered the beauty of the auto margin. For some reason setting the left and right margins to auto and giving it an actual width.
To give you a feel for how this is coming along - I have uploaded a test:
Posted on May 18, 2009
blog comments powered by Disqus