Skip to content

Instantly share code, notes, and snippets.

@torsten
Created January 10, 2012 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save torsten/1589419 to your computer and use it in GitHub Desktop.
Save torsten/1589419 to your computer and use it in GitHub Desktop.
"Detecting" IE version for CSS
<!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>
@tinnefeld
Copy link

Torsten Dangerous is back to hacking evil scriptZ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment