Skip to content

Instantly share code, notes, and snippets.

@pipster
Forked from philsherry/IE conditionals
Created March 14, 2012 04:13
Show Gist options
  • Save pipster/2034008 to your computer and use it in GitHub Desktop.
Save pipster/2034008 to your computer and use it in GitHub Desktop.
Conditional comments for including IE-related stuff
<!--[if lte IE 8]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<link rel="stylesheet" href="/css/ie.css" media="screen" />
<![endif]-->
<!--[if lte IE 7]>
<link rel="stylesheet" href="/css/ie7.css" media="screen" />
<![endif]-->
<!--[if lte IE 6]>
<link rel="stylesheet" href="/css/ie6.css" media="screen" />
<![endif]-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment