Condition css different naviguateur
Résolu
griko
Messages postés
401
Statut
Membre
-
RAD ZONE Messages postés 5362 Statut Contributeur -
RAD ZONE Messages postés 5362 Statut Contributeur -
Bonjour,
je voudrais afficher quelque chose si le navigateur est différent IE et la version de IE inférieur à IE 7
En gros pour tous les navigateur sauf les versions antérieur à IE7 on affiche un texte.
<!--[if lt IE 7]> ça pour si < IE7 mais la différence, on la met comment ?
--
Webmaster de : Cinéco.fr | Le site Cinéphile!
je voudrais afficher quelque chose si le navigateur est différent IE et la version de IE inférieur à IE 7
En gros pour tous les navigateur sauf les versions antérieur à IE7 on affiche un texte.
<!--[if lt IE 7]> ça pour si < IE7 mais la différence, on la met comment ?
--
Webmaster de : Cinéco.fr | Le site Cinéphile!
Configuration: Windows 7 Firefox 3.5.3
2 réponses
-
Salut voila un exemple assez complet !
qui devrait t eclairer
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> RAD ZONE Webcreation </title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="author" content="http://radservebeer.free.fr" /> <meta name="generator" content="PSPad editor, www.pspad.com" /> </head> <body> <div id="info"> <h2> Commentaires Conditionnel pour Internet Explorer et les navigateurs non-IE </h2><!--[if IE]> <h1>Vous utilisez Internet Explorer</h1> <![endif]--> <!--[if IE 5]> <h1>Version 5</h1> <![endif]--> <!--[if IE 5.0]> <h1>Version 5.0</h1> <![endif]--> <!--[if IE 5.5]> <h1>Version 5.5</h1> <![endif]--> <!--[if IE 6]> <h1>Version 6</h1> <![endif]--> <!--[if IE 7]> <h1>Version 7</h1> <![endif]--> <!--[if IE 8]> <h1>Version 8</h1> <![endif]--> <!--[if !IE]><!--> <h1> Vous n'utilisez pas Internet Explorer </h1><!--<![endif]--> <!--[if IE 6]><!--> <h1> Vous utilisez Internet Explorer version 6 OU un navigateurs non-IE </h1><!--<![endif]--> <!--[if IE 6]> IE6 et non <!--> <h1> Vous utilisez un navigateur non-IE <!--<![endif]--> </h1> </div> </body> </html> -