Skip to content

Instantly share code, notes, and snippets.

@ghooghe
Created June 11, 2013 13:34
Show Gist options
  • Select an option

  • Save ghooghe/5756867 to your computer and use it in GitHub Desktop.

Select an option

Save ghooghe/5756867 to your computer and use it in GitHub Desktop.
Conditional class for ie detection needs
<!--[if lt IE 7]><html class="ie ie6 lt10 lt9 lt8 lt7"><![endif]-->
<!--[if IE 7]><html class="ie ie7 lt10 lt9 lt8"><![endif]-->
<!--[if IE 8]><html class="ie ie8 lt10 lt9"><![endif]-->
<!--[if IE 9]><html class="ie ie9 lt10"><![endif]-->
<!--[if gt IE 9]><html class="ie ie10"><![endif]-->
<!--[if !IE]><!--><html><!--<![endif]-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment