snippets star schaufler.ch

Conditional Comments

//Conditional Comments | kleiner als IE9
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

//Conditional Comments | nur IE6
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="ie6.css" />
<![endif]-->

//Conditional Comments | kein IE
<!--[if !IE]>
<h1></h1>
<![endif]-->

Mehr unter: http://de.wikipedia.org/wiki/Conditional_Comments
Tags: browser, ie von Andy 24-02-2011