Book Image

Drupal 5 Themes

Book Image

Drupal 5 Themes

Overview of this book

Drupal is an award winning open source Content Management System. Based on PHP/MySQL, its power and flexibility combined with its exceptional design mean it is already on the way to becoming the de facto standard for CMS Websites. Drupal?¢‚Ǩ‚Ñ¢s modular design and structured source code make it both highly flexible and easily extended and modified. Drupal is extremely scalable, making it ideal for both a simple personal website as well as an industrial strength commercial or institutional web presence.Drupal is a model open source project in that it has a large, friendly community of people who contribute to the project in various ways. Drupal is not only free and easy to use, but this community provides on going mutual support.
Table of Contents (14 chapters)
Drupal 5 Themes
Credits
About the Author
About the Reviewer
Preface
Appendix A

Chapter 4. Style Sheets and Themeable Functions

All of the HTML output in Drupal comes from various functions, many of which are themeable. The styling of the output is controlled by various style sheets. Accordingly, the key to controlling your site's look and feel is a good command of the themeable functions and the style sheets.

The Drupal system contains a large number of style sheets and an even greater number of themeable functions. In this chapter, we'll take you on a guided tour of all the various style sheets and themeable functions, as a precursor to learning how to intercept and override these elements in the course of customizing your themes.

A Guide to Drupal Style Sheets

A typical Drupal installation will include twenty style sheets, and may also include a certain number of embedded styles. If you have installed additional extensions, you may well find that they come with their own style sheets, pushing the count up even higher.

The Drupal approach to style sheets may initially...