Created
March 15, 2017 01:26
-
-
Save alexsc6955/7aaa2ab8b0543d75111677bd6ac8fdf3 to your computer and use it in GitHub Desktop.
Ad a HTML class just for IE || a less robust version putting class on bodyelement
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<!--[if IEMobile 7 ]> <html dir="ltr" lang="en-US"class="no-js iem7"> <![endif]--> | |
<!--[if lt IE 7 ]> <html dir="ltr" lang="en-US" class="no-js ie6 oldie"> <![endif]--> | |
<!--[if IE 7 ]> <html dir="ltr" lang="en-US" class="no-js ie7 oldie"> <![endif]--> | |
<!--[if IE 8 ]> <html dir="ltr" lang="en-US" class="no-js ie8 oldie"> <![endif]--> | |
<!--[if (gte IE 9)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html dir="ltr" lang="en-US" class="no-js"><!--<![endif]--> | |
<head></head> | |
<!--[if IE ]> | |
<body class="ie"> | |
<![endif]--> | |
<!-- Content --> | |
<!--[if !IE]>--> | |
<body> | |
<!--<![endif]--> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment