Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Aug 2012
    Location
    I live
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Website Centering Issue (Internet Explorer)

    Hello guys! This is my first post, although I've browsed these forums for weeks. Let me introduce myself. Im iVMo. I make websites.

    Ok so here's my problem. It seems extremely simple but I just can't work it out.

    The website doesn't centrally align in Internet Explorer. All other browsers display the website perfectly. Here is the website:
    http://imagine-studio.co.uk

    Embaracing that Im still getting caught on these issues, but I've been trying for so long.. So can anyone offer a solution? I'd be most greatful

  • #2
    New Coder
    Join Date
    Aug 2012
    Location
    New Zealand
    Posts
    52
    Thanks
    2
    Thanked 4 Times in 4 Posts
    have you tried adding the

    Code:
    margin-left: auto;
    margin-right: auto;
    code into your body tag in your css?

  • #3
    New to the CF scene
    Join Date
    Aug 2012
    Location
    I live
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Jordann View Post
    have you tried adding the

    Code:
    margin-left: auto;
    margin-right: auto;
    code into your body tag in your css?
    Yeah thats in there. Check out the source and see what you think?

  • #4
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,680
    Thanks
    6
    Thanked 1,009 Times in 982 Posts
    My web developer toolbar shows me that the site is in quirks mode. This could very well be the issue. Nothing must come before the doctype, not even a white space.

  • #5
    New to the CF scene
    Join Date
    Aug 2012
    Location
    I live
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up Fixed

    Quote Originally Posted by VIPStephan View Post
    My web developer toolbar shows me that the site is in quirks mode. This could very well be the issue. Nothing must come before the doctype, not even a white space.
    You sir, are a legend. That was exactly the problem - Thank you! There was a single space in-front of the Doctype declaration. Who knew something so small could cause so much distortion to a website!

    I hate IE with a passion. It is the worst thing to happen to the web. This is a lesson learned for the future


  •  

    Tags for this Thread

    Posting Permissions

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