Results 1 to 4 of 4

Thread: Not centering in IE/Mac?

  1. #1
    Join Date
    Apr 2005

    Not centering in IE/Mac?

    Can someone tell em why this isn't centering on IE6 for the Mac?

    The site is at: http://www.tech-genus.com/demos/smartSite/

    I have the body with text-align:center: set

    but it hasn't been working so I just threw up the old school HTML <center..> tag around the whole thing.

    Why is some of the page centering and the header box and footer box not centering?

    Any help would be great.

  2. #2
    Join Date
    Mar 2005
    Washington, USA
    Your #container div should wrap around all the content. Literally have <div id="container"> right after <body> starts and end it right before <body> ends. Then add this to the CSS in #container - margin: auto;
    Jason Granger's Blog

    I'm an inactive member...

  3. #3
    Join Date
    Apr 2005
    Thanks sanim, initially that is how I had the site set up. Everything was in the "container." Things weren't working so I took the headers and footers out and voila! Let me give this margin: auto a shot and see what happens.

    Thanks again

  4. #4
    Join Date
    Apr 2005
    Yes. I didn't put everythiong in the container but instead just put in Margin:auto on the header and footer boxes. It seems to work fine.


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center