Gunnar Bittersmann: Else-Zweig bei Conditional Comments

Beitrag lesen

Hello out there!

im msdn dagegen ganz leicht ;-) :

http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp

Auf diese Seite hatte mich Google auch geführt. Ich hätte sie nur richtig lesen sollen.

Verschiedene Positionen des '!' hatte ich probiert. Das als Kommentar zu schreiben, war falsch.

Dumm nur, dass es nicht als Kommentar zu schreiben auch falsch ist:
<![if !IE]><p>foo</p><![endif]> ist kein valides (X)HTML.

See ya up the road,
Gunnar

PS: “This feature requires Microsoft® Internet Explorer 5 or later. Click the following icon to install the latest version. Then reload this page to view the sample.”

Netter Versuch. ;-)

--
“Remember, in the end, nobody wins unless everybody wins.” (Bruce Springsteen)