Skip to content

Instantly share code, notes, and snippets.

@pellekrogholt
Created December 21, 2012 14:54
Show Gist options
  • Save pellekrogholt/4353273 to your computer and use it in GitHub Desktop.
Save pellekrogholt/4353273 to your computer and use it in GitHub Desktop.
html start tags for various ie tweaks
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--[if IE 7]> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" class="ie7 oldie"> <![endif]-->
<!--[if IE 8]> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" class="ie8 oldie"> <![endif]-->
<!--[if gt IE 8]><!--> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <!--<![endif]-->
<head>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment