Skip to content

Instantly share code, notes, and snippets.

@jakearchibald
Created April 8, 2011 11:00
Show Gist options
  • Save jakearchibald/909640 to your computer and use it in GitHub Desktop.
Save jakearchibald/909640 to your computer and use it in GitHub Desktop.
Experimenting with IE support
<!--[if IE 8]><meta http-equiv="X-UA-Compatible" content="IE=7"/><![endif]-->
<!--[if gt IE 8]><meta http-equiv="X-UA-Compatible" content="IE=edge"/><![endif]-->
I've been experimenting with this in a couple of projects.
For animations, IE8 compat mode is noticeably quicker/smoother than
IE8 strict. Since I still give 'full' support to IE7 (barring the
odd text-shadow etc which IE8 doesn't support anyway) I use the tags
above to push IE8 into compat mode for smoother animations, but allow
the much faster IE9 to try its standardsy best.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment