Training

Our next U.S. stop:

Mike Anello and Andrew Riley from Mediacurrent are teaming up to offer the first Blue Collar Git workshop on Friday, June 8 as part of DrupalCamp Charlotte (also part of the Southeast LinuxFest). The cost is only $149 for the full day if you register during the month of May ($199 otherwise). 

New Podcast

Posted Wednesday, May 9 at 7:50 am
Brandon Morrison (Brandonian on drupal.org) joins Andrew Riley and Mike Anello on the first post-DrupalCon Denver edition of the podcast to talk about all things Geo in Drupal 7. Brandon is one of the maintainers of the GeoField module and is an active member of the Drupal Geo community.
Download Podcast 82
DrupalEasy_ep82_20120509.mp3
Syndicate content

Newsletter

Stay up-to-date on DrupalEasy workshops and other events. On average, we send about one newsletter per month.

Testimonial

Mike is a great teacher!

Who are we?

DrupalEasy is the collective expertise of Ryan Price and Michael Anello, who joined forces to provide training and consulting services worldwide. Read all about them and what they can do.

What is Drupal?

Drupal is a free, super-powerful content management system for sites that require information posting and collection, including blogs, forums, videos, photos, and databases of information. We think it is the best platform available. Here's why...

Why Drupal?

More and more savvy organizations are going with Drupal for content management, and its no mystery why. It’s free, flexible, and easy to maintain for small or large volume sites. Learn more...

Internet Explorer CSS File Limits

When creating a theme, it is often very handy to break up the CSS into multiple files for the purpose of keeping things better organized. Luckily, Drupal has built-in CSS optimization on the admin/settings/performance page, but during development it is sometime quite easy to run up a large number of CSS files being used.

While Drupal core adds a number of CSS files by default, another part of the problem is that any module can have their own CSS files added to the page automatically as well. If your theme implements more than a few more files, you can very quickly get up to over 31 files.

What's so special about having more than 31 CSS files? Internet Explorer doesn't like it. In fact, IE won't even read in any CSS files past #31. This problem usually shows up during theme development when you're testing on IE in the form of unthemed elements on your page. A quick way to verify the issue is to go to admin/settings/performance and turn on CSS Optimization. Once you do this, your IE pages should look a whole lot better.

You can leave this option turned on during development but keep in mind that you'll have to clear the cache before every page load. The other option is to start combining CSS files until you get below the magic number of 31.

Trackback URL for this post:

http://drupaleasy.com/trackback/203
No votes yet

More Quicktips


Syndicate content