Skip to content

Instantly share code, notes, and snippets.

@madalinignisca
Created May 10, 2013 18:17
Show Gist options
  • Save madalinignisca/5556310 to your computer and use it in GitHub Desktop.
Save madalinignisca/5556310 to your computer and use it in GitHub Desktop.
HTML Detect IE
<!doctype html>
<!--[if lt IE 7 ]> <html class="ie6"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7"> <![endif]-->
<!--[if IE 8 ]> <html class="ie8"> <![endif]-->
<!--[if IE 9 ]> <html class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html class=""> <!--<![endif]-->
<head>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment