From reading the description on the Drupal page for this module, it states:

; Set the conditional stylesheets that are processed by IE.
stylesheets-conditional[lt IE 7][all][] = ie6-and-below.css
stylesheets-conditional[IE 9][all][] = ie9.css
stylesheets-conditional[IE][print][] = ie-print.css

but I found that unless an if statement precedes the IE statements, they are not read by IE. So, the above should say instead:

; Set the conditional stylesheets that are processed by IE.
stylesheets-conditional[if lt IE 7][all][] = ie6-and-below.css
stylesheets-conditional[if IE 9][all][] = ie9.css
stylesheets-conditional[if IE][print][] = ie-print.css

Comments

bloke_zero’s picture

Useful module, terrible documentation. Looking at the front page it looks like the above would work but as is pointed out in another issue you must also swap the words 'stylesheets' and 'conditional' so it looks like this:

conditional-stylesheets[if lt IE 7][all][] = css/ie6.css

jedihe’s picture

It seems the quick instructions in the project page were adjusted for a recent fix, but the stable version is still using the old method; that means it's necessary to use the entire expression (e.g. "if lt IE 7") at least until the new stable version gets released.

johnalbin’s picture

Title: need IF statement » Instructions for D6 version not obvious enough
Status: Active » Fixed

It says right on the project page:

Drupal 6 version

The above information is about the Drupal 7 version, for information about the Drupal 6 version, please read the online documentation.

Blargh. Apparently that warning isn't obvious enough? #1079356: Wrong instructions

I've now added the following text just below the D7 .info syntax:

Note: The above syntax is for Drupal 7 themes. See below for Drupal 6 syntax.

Please re-open if you feel that still isn't obvious enough. Thanks. :-)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.