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 4 of 4
  1. #1
    Regular Coder
    Join Date
    Aug 2009
    Posts
    410
    Thanks
    119
    Thanked 0 Times in 0 Posts

    IE8 body alignment and other issues

    ISSUE 1
    on this site how come the site is aligned to the left, and not the middle, even though the #centercolumn has
    Code:
    margin:0 auto;
    width:960px;
    should that center it? what gives?

    ISSUE 2
    in the top nav bar, how come the subheadings dont line up right below the main page headings like they do in Chrome and Firefox?


    ISSUE 3
    how come the "AAA Guarantee" box in the middle slide area doesnt like up at the top of the slide like it does in Chrome and Firefox?



    FYI, this is a Wordpress theme I installed so I'm trying to clean up these issues that came with it...

    Please advise. thanks in advance!

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,956
    Thanks
    9
    Thanked 727 Times in 721 Posts
    Because there's some code before the doctype which is causing IE to render in Quirks mode:

    Code:
    <!-- CHILD INDEX FILE -->
    Remove that comment and it should be fine.

  • Users who have thanked SB65 for this post:

    sixrfan (07-14-2011)

  • #3
    Regular Coder
    Join Date
    Aug 2009
    Posts
    410
    Thanks
    119
    Thanked 0 Times in 0 Posts
    good call. thank you! though i'm surprised that this code would cause an issue. isn't it correctly formatted to be just a comment?

  • #4
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,956
    Thanks
    9
    Thanked 727 Times in 721 Posts
    Yes, but the doctype should always be the first thing on the page.

  • Users who have thanked SB65 for this post:

    sixrfan (07-14-2011)


  •  

    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
    •