2010-02-10 4 views

Répondre

0

ok je l'ai eu.

aller à chameleon.theme. insérer $output .= '<!--[if IE 6]> <link type="text/css" rel="stylesheet" media="all" href="/themes/chameleon/ie6.css" /> <![endif]-->';

+0

Vous pouvez marquer votre réponse acceptée alors. –

+0

Je ne peux le marquer qu'après deux jours – p0larBoy

0

Vous pouvez l'ajouter dans le fichier info de thème, comme celui-ci:
conditional-stylesheets[if IE][all][] = ie.css
voir thème Zen par exemple
Ou peut utiliser plongement manuel, voir thème guirlande:

<head> 
<?php print $head ?> 
<title><?php print $head_title ?></title> 
<?php print $styles ?> 
<?php print $scripts ?> 
<!--[if lt IE 7]> 
    <?php print phptemplate_get_ie_styles(); ?> 
<![endif]--> 

phptemplate_get_ie_styles défini dans template.php de ces fichiers.


+1

Ceci est seulement une fonctionnalité de thème zen et une fonctionnalité Drupal. Puisque le PO utilise le thème Chameleon, cela ne vous aidera pas. – googletorp

+0

googletorp je sais, voir la partie manuelle alors. – Nikit

Questions connexes