Bonjour a tous , j'ai un petit probleme d'affichage entre firefox et IE et je voudrais donc afficher 2 liens different selon que l'on soit sous IE ou un otre navigateur .
J essaie donc de faire une condition en html mais je n arrive pas a faire un else .
Voici le code que je met pour essayer davoir 2 liens differents .
Si quelq'un peut m'aider ce serait sympa .
Merci et bonne journée .
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 <!--IF [IE] --> <span><a style="position :relative; left : 150px;" "href="/week-end/weekend/voyage/carnet/ce-week-end.htm" onmouseover="getElementById('SuiteCeWe').src='/_includes/images/home/SuiteOver.gif';" onmouseout="getElementById('SuiteCeWe').src='/_includes/images/home/SuiteOut.gif'"><img style=" float : left;position : relative ; left : 300px;" id="SuiteCeWe" src="/_includes/images/home/SuiteOut.gif" alt="Voir la suite..." /><p style="position : relative ; left : 320px; top:3px; font-size: 12px; "> Voir la suite</p></a> </span <!--ELSE--> <span><a "href="/week-end/weekend/voyage/carnet/ce-week-end.htm" onmouseover="getElementById('SuiteCeWe').src='/_includes/images/home/SuiteOver.gif';" onmouseout="getElementById('SuiteCeWe').src='/_includes/images/home/SuiteOut.gif'"><img style=" float : left;position : relative ; left : 300px;" id="SuiteCeWe" src="/_includes/images/home/SuiteOut.gif" alt="Voir la suite..." /><p style="position : relative ; left : 320px; top:3px; font-size: 12px; "> Voir la suite</p></a> </span> <!--ENDIF-->
Partager