I'm trying to apply the technique recommended here for IE detection in jQuery:
https://stackoverflow.com/a/3165521/1093087
What I'm unclear about is how to set the html
tag for non-IE browsers.
This is what I currently have in my template:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
Is this what I should replace it with:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!--[if lt IE 8><html class="lt-ie8"><![endif]-->
<!--[if IE 8]><html class="ie8"><![endif]-->
<!--[if gt IE 8]><!--><html><!--<![endif]-->
<head>
Is IE going to be confused by two html
tags if I do it that way?