syl Posted February 23, 2010 Share Posted February 23, 2010 Bonjourvoilà, normalement en html, on peut utiliser , pour exécuter/afficher quelque chose ou pas si c'est internet explorer ou pas le code suivant : <!--[if IE]>blablablaQuel est le code correspondant en Smarty ? Link to comment Share on other sites More sharing options...
cyfou Posted February 27, 2010 Share Posted February 27, 2010 Bonjour,j'ai le même besoin !Je voudrais conditionner du CSS suivant le navigateur <!--[if !IE]> <style type="text/CSS"> #menuh li ul { position:absolute; } </style> merci pour votre aideCyfou Link to comment Share on other sites More sharing options...
syl Posted February 27, 2010 Author Share Posted February 27, 2010 si on trouve pas, peut être une alternative: appeller un fichier monfichier.html via php dans lequel y'a le code <!-- [if !IE] ..... :{php}include('monfichier.html');{/php} Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now