Internet Explorer Conditional Comments
Das Thema IE 6 / IE 7 und Conditional Comments dürfte uns in den nächsten Monaten regelmässig beschäftigen. Hier eine Übersicht, auf welche Arten die verschiedenen Browser angesprochen werden können:
1<!--[if IE 5]>
2<p>This message is only displayed in IE5.</p>
3<![endif]-->
4
5<!--[if !IE 5]>
6<p>This message is only displayed in browsers other than IE5.</p>
7<![endif]-->
8
9<!--[if lt IE 7]>
10<p>This message is only displayed in browsers earlier than IE7.</p>
11<![endif]-->
12
13<!--[if gte IE 6]>
14<p>This message is only displayed in IE6 and greater.</p>
15<![endif]-->
Den ganze Artikel anschauen.
2<p>This message is only displayed in IE5.</p>
3<![endif]-->
4
5<!--[if !IE 5]>
6<p>This message is only displayed in browsers other than IE5.</p>
7<![endif]-->
8
9<!--[if lt IE 7]>
10<p>This message is only displayed in browsers earlier than IE7.</p>
11<![endif]-->
12
13<!--[if gte IE 6]>
14<p>This message is only displayed in IE6 and greater.</p>
15<![endif]-->