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 3 of 3
  1. #1
    Regular Coder
    Join Date
    Sep 2011
    Posts
    264
    Thanks
    49
    Thanked 1 Time in 1 Post

    IE9 displaying warped version of website

    Hi. This site displays completely differently than when displayed in Firefox or Chrome.

    I have no idea what is causing this.

  • #2
    Regular Coder
    Join Date
    Sep 2011
    Posts
    327
    Thanks
    3
    Thanked 35 Times in 35 Posts
    By putting this before the doctype, you ordered IE into quirks mode:
    Code:
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js" type="text/javascript"></script>
    <script type="text/javascript">
            $.noConflict();
                    jQuery(document).ready(function() {
                      jQuery(".the-content").hide();
                      jQuery(".the-head").click(function()       {
                        jQuery(this).next(".the-content").slideToggle(500);
                      });
                    });
    </script>
    <?xml version="1.0" encoding="UTF-8"?>
    Put it inside the head. And you can delete the last line. You don't need that, and it sets off IE6.

    If that doesn't cure, or for more information, see this tutorial.
    Frank

    How to: Target IE in, Position in, Center in, Create a Fixed ('Sticky') Footer with, and Create a Drop-Down/Fly-Out Menu with CSS: Website Laten Maken Amsterdam.

  • Users who have thanked Frankie for this post:

    SRD75 (02-13-2013)

  • #3
    Regular Coder
    Join Date
    Sep 2011
    Posts
    264
    Thanks
    49
    Thanked 1 Time in 1 Post
    You're a star, Frankie.

    I really appreciate it. You've saved a big headache.

    Thank you.

    Steve.


  •  

    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
    •