Drupal Module of the Week: IE Unlimited CSS Loader

During a recent build, we ran into an issue that left us scratching our heads.  IE refused to load the main stylesheet. Normally, something like this would be caused by a faulty configuration file, but seeing how all other browsers worked fine, it came down to IE being IE.

As it turns out, IE has an undocumented limit of 32 individual stylesheets.  Now, this isn't a huge concern for production sites since we compress all stylesheets to keep the load time to the minimum.  It is however a problem in a development environment, where IE debugging needs to take place.

This is where IE Unlimited CSS Loader steps in.  It will use the @import method to load an infinite amount of CSS files allowing for smooth theme debugging.  There are some concerns with using this module in production sites, as there is a potential performace hit and possible conflicts with other modules, but it is a lifesaver in a development environment.  Once development is done, simply turn off the module and those concerns go out the window.

adnan / Interactive Designer
As at home behind the wheel of an almost-paid-off sports car as he is his trusty PC, Adnan is truly a man of many talents. Hailed as a maschocistic pacifist, he enjoys working extremely late, but leaves immediately when...

Post a new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <pre>, <c>, <cpp>, <css>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. The supported tag styles are: <foo>, [foo].
  • Insert Google Map macro.
  • Each email address will be obfuscated in a human readable fashion or (if JavaScript is enabled) replaced with a spamproof clickable link.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.