I wrote an application using HTML 5 and I will not show an error window instead of a page when someone visits IE. When it discovers navigator.appName as Microsoft Internet Explorer , it hides everything and shows a failed div div that started to hide. The div is as follows:
<div id='ieerror' style='display:none;width:500px;height:500px;border:3px solid #ff0000;position:absolute;top:50%;left:50%;margin-top:-250px;margin-left:-250px;'> <center> <h1 style='font-size: 30px;'>Internet Explorer is not supported by Aud!</h1><br /><br /> <p>Internet Explorer does not support HTML 5 and therefore this application cannot run.<br /> Please upgrade your browser. We suggest <a href='http://www.google.com/chrome'>Google Chrome</a>!</p> </center> </div>
The problem is that when I visit the page in IE, the div appears with a border, but it has no content. Nothing is inside of him. I went to the view->source , and looked at him, and the code is still there, but none of them is not displayed. How to fix it?
source share