Es gibt 3 Möglichkeiten.
HTML:
<!--[if IE]>
<div id="ie-message">Bitte verwenden Sie einen Browser!</div>
<![endif]-->
CSS:
#ie-message { display: none; }
* html #ie-message { display: block; }
*+html #ie-message { display: block; }
JavaScript:
if (window.opera || !document.all) {
document.getElementById('ie-message').style.display = 'none';
}
Ich empfehle die HTML-Version.
Gruß, LX
--
X-Self-Code: sh:( fo:) ch:~ rl:° br:> n4:& ie:% mo:) va:) de:] zu:) fl:{ ss:) ls:~ js:|
X-Self-Code-Url: http://emmanuel.dammerer.at/selfcode.html
X-Will-Answer-Email: Unusual
X-Please-Search-Archive-First: Absolutely Yes
X-Self-Code: sh:( fo:) ch:~ rl:° br:> n4:& ie:% mo:) va:) de:] zu:) fl:{ ss:) ls:~ js:|
X-Self-Code-Url: http://emmanuel.dammerer.at/selfcode.html
X-Will-Answer-Email: Unusual
X-Please-Search-Archive-First: Absolutely Yes