O'Reilly logo

Drupal 6 Theming Cookbook by Karthik Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Disabling CSS in the browser

Besides catering to graceful degradation as seen with the recipe on disabling JavaScript, disabling CSS files is invaluable during debugging, especially once the levels of complexity increase.

This recipe will detail the steps required to disable CSS during development.

Getting ready

In this recipe, we will be using the Web Developer add-on for Firefox and Google Chrome which can be downloaded from http://chrispederick.com/work/web-developer/. It is assumed that it has been installed and enabled.

We will also be using the myzen theme created in earlier chapters as the example theme in this recipe.

How to do it...

Once the Web Developer add-on is installed in Firefox, a toolbar should be available at the top of the page. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required