drupalconditional-statementsstylesheet

Add conditional stylesheet into the Drupal's Chameleon theme


I need to add a conditional stylesheet for IE6. However, in the chameleon theme there isn't any page.tpl. I download the conditional stylesheet module but it doesn't work.

I'm using Drupal 6.


Solution

  • ok i got it.

    go to chameleon.theme. insert $output .= '<!--[if IE 6]> <link type="text/css" rel="stylesheet" media="all" href="/themes/chameleon/ie6.css" /> <![endif]-->';