Hi,

I am facing some problem to load the extjs javascript framework(extjs 2.0) to drupal by drupal_add_css function, there are other css defined by drupal modules.

if I simply use drupal_add_css(extjs-all.css), IE6 will not be able to interpret the style sheet correctly. There is no such problem in Firefox.

drupal_add_css does some compress to the css files, but the extjs-all is already compressed to some extend.

I am guessing if there is something buggy in the drupal_add_css function.

I have tried sth like drupal(extjs-all.css, $preprocess = FALSE), but it will end up with some other incorrect output.

Anbody elase encountered the same problem before, and anybody can suggest any solution?

I am using drupal 5.3, extjs 2.0.

Thanks a lot in advance.

Comments

gnosis.kv’s picture

i am using zen_classic theme.

Checking if there is any conflic btw zen css and extjs css.

gnosis.kv’s picture

i found on Druupal Theme Garden(themegarden.org), all the drupal page's css are imported individually instead of a consolidated and compressed css by druupal_add_css function.

How to do so in drupal?

To debug the compressed css is really painful.... :(

tdimg’s picture

The setting to aggregate and compress/not compress can be found in site configuration > performance.

Other than that, I don't think that the drupal_add_css function or the compressor/aggregator breaks anything specific in IE, at least I'm not aware of a bug there.

gnosis.kv’s picture

thanks a lot, c2uk.

After disable aggregate/compress css, the problem gone.

So there must be sth wrong with drupal css compress function. Need further investigation.