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.
1 Answer
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. Oct 4, 2012 at 17:54
-
1ie 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, 2012 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. Oct 4, 2012 at 17:57
-
@Brian O'Gorman Would you mind accepting his answer? See here for more details. May 9, 2017 at 22:42