We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42964
    • 22 Posts
    Hey guys so I have finished my site but when doing cross browser checks it doesn't display the navigation menu in IE 9 ? but it looks fine in IE 8 and 7, what could be the problem ?

    Thanks !
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      What does your navigation menu code look like? Javascript? CSS? Maybe even a link to the site so we can take a look at it?
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 42964
        • 22 Posts
        Hey thanks for you're reply, heres the link http://c0401.paas2.ams.modxcloud.com/ It looks fine in Chrome but it doesn't render properly in IE 9 ,
        thanks,
        Prince
          • 39333
          • 151 Posts
          Personally I deprecate ie8 on back because of it's lack of support of what is actually very good about html5 and css3. If you want good to come out you have to encourage the good within, not continue to embrace the bad. That's no excuse, just personal perspective. Especially since Chrome works on XP SP3 and takes 20s to install. With ie6-8 the display property gets tedious.

          Try this....

          Head:
          <!--[if IE 8 ]>    <html lang="en" class="ie8">    <![endif]-->


          CSS:
          .ie8 #menu a{display: inline-block;}


          You could also just put everything in my css call after the ie8 class into the target tags in the head call and remove the class from the html tag, but this way is best.
          You may also need to set a width and height for the "a" tag. You could also try doing the same for the "li" tag. Those are the 3 styles I would mess around with between the 2 tags.

          Let me know if this works.
            MODX...the Zen of CMS
            "Bight off more than you can chew and keep right on chewing."
            • 42964
            • 22 Posts
            Hey thanks for the reply, But sadly it didn't work, I'v had this in the since the beginning
            <!--[if lt IE 9]>
            <script type="text/javascript" src="assets/valetfiles/scripts/ie6_script_other.js" ></script>
            <script type="text/javascript" src="assets/valetfiles/scripts/html5.js" ></script>
            <![endif]-->


            My style CSS currently has this
            behavior:url(../js/PIE.htc);
            but it doesn't have a path to it as i cannot upload a .htc file, could this be the problem ?

            Thanks,
            Prince
              • 42964
              • 22 Posts
              Okay so i've fixed the navigation in IE 9 by using this
              <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" >

              But now the other pages wont load at all ? only the home page works ?