www.webdeveloper.com
Results 1 to 5 of 5

Thread: Firefox alignment problem

  1. #1
    Join Date
    Jan 2005
    Posts
    42

    Firefox alignment problem

    Hey,

    Can anyone tell me why this page is centered in IE and not firefox?

    http://jake.axyswebs.co.uk/jamie/

    I want it to look like it does in IE in all browsers. I always seem to have this problem of getting things to center align in firefox.

    Cheers

  2. #2
    Join Date
    Sep 2005
    Posts
    597
    This will fix it:

    Code:
    #container	{
    			text-align:center;
    			width:600px;margin:0 auto;
    			}

  3. #3
    Join Date
    Jan 2005
    Posts
    42
    Thanks alot that works!

  4. #4
    Join Date
    Sep 2005
    Posts
    597
    My pleasure.

  5. #5
    Join Date
    Jul 2005
    Location
    USA
    Posts
    3,910
    Learn CSS. | SSI | PHP includes | X/HTML Validator | CSS validator | Dynamic Site Solutions

    Design/program for Firefox (and/or Opera), apply fixes for IE, not the other way around.

    Check out my blog.

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



Recent Articles