- May 19, 2011
- 19,411
- 12,937
- 136
There's a couple of bits of code pertaining to Internet Explorer:
But it doesn't look like that either bit of code gets run by IE10. It's fine in IE9.
Looking at my code again, I realise I can chop it a bit because my site is fine in IE9 (and hopefully 10 once this is sorted). Some bits are just modified from IE6/7/8 days.
I've tried resetting IE to default settings and running in no-addons-mode, but it doesn't make any difference.
Code:
<!--[if lte IE 8]> <link rel="stylesheet" type="text/css" href="ie.css"> <![endif]--> <!--[if gt IE 8]> <link rel="stylesheet" type="text/css" href="default.css"> <![endif]-->
Code:
var appName = window.navigator.appName; if (appName !== "Microsoft Internet Explorer") document.write("<link rel=\"stylesheet\" type=\"text\/css\" href=\"default.css\" \/>"); //]]>
Looking at my code again, I realise I can chop it a bit because my site is fine in IE9 (and hopefully 10 once this is sorted). Some bits are just modified from IE6/7/8 days.
I've tried resetting IE to default settings and running in no-addons-mode, but it doesn't make any difference.