artero
12/21/2011 - 10:32 PM

Hacer compatibles Infernal Explorer 7 y 8 con HTML5

Hacer compatibles Infernal Explorer 7 y 8 con HTML5

<!-- Sacado del artículo: https://developer.mozilla.org/es/Secciones_y_esquema_de_un_documento_HTML_5 -->

section, article, aside, footer, header, nav, hgroup {  
  display: block;  
}  

<!--[ If IE]>  
  <script>  
    document.createElement("header" );  
    document.createElement("footer" );  
    document.createElement("section");   
    document.createElement("aside"  );  
    document.createElement("nav"    );  
    document.createElement("article");   
    document.createElement("hgroup" );   
    document.createElement("time"   );  
  </script>  
  
  <noscript>  
     <strong>Warning !</strong>  
     Because your browser does not support HTML5, some elements are simulated using JScript.  
     Unfortunately your browser has disabled scripting. Please enable it in order to display this page.  
  </noscript> <![endif]-->  

<![endif]-->