Hey everyone,
So I've Googled damn near every term out there trying to find a simple solution for taking a drupal 5 theme, and adding css in template.php. I've found a few "this aughta work"'s, which don't, and countless more "Just add this"'s, which don't work and don't tell you where to add them. Then again, it's been my observation working with drupal for years now that the documentation is often lacking for things so basic.
Anyways, for my own purposes I want to add a specific stylesheet in template.php. Where should I add the drupal_add_css, how should I go about it... etc etc etc ???
(PS: It's important as far as I can tell to do this for the purposes of aggregating and compressing CSS files)

Comments
You got it
As long as your theme is enabled the template.php file should be included on every Drupal bootstrap. It really doesn't matter 'where' you put drupal_add_css() as long as it does get called.
As a good practice I would use path_to_theme() in you $path.
Example from from Zen theme's template.php file:
drupal_add_css(path_to_theme() .'/html-elements.css', 'theme', 'all', $preprocess);See the API page for more details: http://api.drupal.org/api/function/drupal_add_css/5
Really? Anywhere huh, no need
Really? Anywhere huh, no need to have a function or anything, just place that text above (with the nescessary customizations for location) right on the first line of template.php even (post the <? php part of course).
I like that it's that simple supposedly, but now I gotta wonder what the heck was causing all the issues I encountered that had me beating my head against a wall. Anyways I am not at work, I'll test this next time that I am.
Jesse Nicola -- Shredical six different ways to Sunday! -- My Portfolio
Definitely check out the Zen
Definitely check out the Zen theme code. Tons of 'best practices' in there and it's a great framework for starting a custom theme.