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
    New to the CF scene
    Join Date
    Apr 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Angry Need help getting MSIE to behave.

    I have designed one of my newer web sites, http://scarletpi.foxfirestudios.net/ , using HTML5 and CSS3. While it looks fine on Firefox and Chrome, Internet Explorer totally screws it up. If there's anyone who can help me out with this, it'll be greatly appreciated. Thanks in advance.

  • #2
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,335
    Thanks
    5
    Thanked 363 Times in 360 Posts
    What version of IE are you using? I haven't messed with html5 yet as the support is not 100% yet, but I know there is some javascript to "fix" an IE bug for html5 doctypes. Not sure if it will help but here it is.

    Code:
    <!--[if lte IE 8]>
    <script language="JavaScript">
    (function(){if(!/*@cc_on!@*/0)return;var e = "abbr,article,aside,audio,bb,canvas,datagrid,datalist,details,dialog,eventsource,figure,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,time,video".split(',');for(var i=0;i<e.length;i++){document.createElement(e[i])}})()
    </script>
    <![endif]-->
    Teed

  • #3
    New to the CF scene
    Join Date
    Apr 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by teedoff View Post
    What version of IE are you using? I haven't messed with html5 yet as the support is not 100% yet, but I know there is some javascript to "fix" an IE bug for html5 doctypes. Not sure if it will help but here it is.

    Code:
    <!--[if lte IE 8]>
    <script language="JavaScript">
    (function(){if(!/*@cc_on!@*/0)return;var e = "abbr,article,aside,audio,bb,canvas,datagrid,datalist,details,dialog,eventsource,figure,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,time,video".split(',');for(var i=0;i<e.length;i++){document.createElement(e[i])}})()
    </script>
    <![endif]-->
    I think I got the most recent version. I thought about just letting MSIE be MSIE and just give a warning, but then I used a wordpress theme that was HTML5 and had it working on that browser.

  • #4
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    Quote Originally Posted by DavidFoxfire View Post
    I think I got the most recent version. I thought about just letting MSIE be MSIE and just give a warning, but then I used a wordpress theme that was HTML5 and had it working on that browser.
    Given that HTML5 is not actually, you know, that altogether, IE is well within its rights to ignore it.

    As it is, IE9 includes some support for HTML5 features. To fill in the gaps, you can use a script like html5shiv or use Modernizr to detect support across all browsers, IE ou non.


  •  

    Posting Permissions

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