3

Am developing a site using drupal 7.15 I am having problems with displaying a ddblock in internet explorer and I think it may be due to too many css files. If I aggregate them can I continue to edit them? Also, can I still use Firebug to view my css? All the posts I read seem to refer to setting aggregation when you decide to "go live" Sorry to ask such an elementary question.

4

You can still edit the original files as much as you like, but you won't see the changes reflected in the front end until you clear Drupal's caches.

You can absolutely still use Firebug to inspect your CSS, but keep in mind that the files have been aggregated, so you won't be able to pinpoint the original file and line that a rule comes from.

That's pretty much why it's recommended to keep aggregation off during development, unless of course you're testing the aggregation itself.

  • Thanks, Clive. I am a bit stuck because I cannot get ddblock to show in ie and I understand ie has a problem with more than a small number of stylesheets. – Brian O'Gorman Oct 4 '12 at 17:54
  • 1
    ie does have that problem (the limit's 31 if I remember rightly), but Drupal 7 avoids it when aggregation is turned off by using @import statements (which the limit doesn't apply to) – Clive Oct 4 '12 at 17:56
  • Thanks Clive. Have noticed that the @import statements are in the source of the page and wondered what they were! Will have to ask around for a solution to the ddblock problem. – Brian O'Gorman Oct 4 '12 at 17:57
  • @Brian O'Gorman Would you mind accepting his answer? See here for more details. – Chris Happy May 9 '17 at 22:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.