Problem
I'm trying to set-up conditional stylesheets. I've followed the instructions but it's still not registering. What have I done wrong?
Set-Up
I installed and enabled the conditional stylesheets module. I'm running a Tao sub-theme.
I then added the following lines to my theme.info file:
//these are my original stylesheets
stylesheets[all][] = reset.css
stylesheets[all][] = typography.css
//these are my conditional stylesheets
conditional-stylesheet [IE][all][] = styleie7.css
conditional-stylesheets [if !IE][all][] = style.css
I then cleared my cache and no style sheets were loaded.
At the moment I'm just trying to have one stylesheet for IE and one for everything else.
I took the syntax from the [link] in the conditional css directory.1
NOTE:
It's not clear whether you should put
conditional-stylesheet OR stylesheet-conditional
The documentation says one, a lot of posts suggest the other. However I can't get either of them to work.