Tony didn't get any cake

  1. Home
  2. About
  3. Subscribe
  4. Archive
  5. Random

Tony didn't get any cake

Newer
Older
  • 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:

    http://www-student.it.uts.edu.au/~awall/weddingcsstest

    Posted on May 18, 2009
    Comments (View)
  • blog comments powered by Disqus
  • whatidone
  • throwing-myself-into-the-world
  • brilliant-at-whatever

Field Notes Theme. Designed by Manasto Jones. Powered by Tumblr.