Like most Drupal-related things, you have an overwhelmingly broad range of options available to you if you want to tinker with the code that makes your site run. While this holds an incredible amount of appeal to those with a do-it-yourself spirit, it's a bit much for most people.
If, however, you are one of the statistical minority inclined to roll your sleeves up and start messing with such things, this section is for you.
Additionally, the Drupal handbook has an excellent overview of the theming system for Drupal 7 at http://drupal.org/documentation/theme.
At the outset, I want to make a couple of things clear. First, a detailed analysis of Drupal's theming system is beyond the scope of this book. ...