I'm trying to make "UberMenu" plugin for Wordpress compatible with Internet Explorer 8 by following this tutorial
I tried to use HTML shim and element instead of too but my menu still shows as an unordered, unstyled list on IE8.
My website: Cicero gestionale studio legale
!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://www.versari.it/wp-content/themes/maximus/css/html5shiv.js"></script>
<![endif]-->
Can you gently help me? Thanks in advance
First of all, your question does seem like a possible duplicate, as suggested in the comments, so I think you should check the other answers first.
Recently, I encountered a similar problem while designing a navigation menu for my website. The menu just won't style in IE 8 with HTML5shiv. What worked for me is just adding a
<body>tag to the main HTML and then it displayed fine.So I suggest:
<body>and</body>tags enclosing your code.<!DOCTYPE html>declaration at the first line.HTML5shivscript element is at theheadsection.Also, the
!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->of your code needs to include an open bracket at the beginning:<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->