CSS Styling Conventions/Standards

Hi,

Is there any set of rule that people generally follow when they write CSS files? This question is not directly related to Rails. Yet, CSS is part of development. Some use indents to show hierarchy; other don't. Some prefer to write one element in one line; others don't.

Is there any particular preferences in Rails developers?

In addition, are there any Rails plugin or rake tasks to format CSS?

Cheers.

Personally, I've been utilizing the simple "public\stylesheets \app_name.css" and including the css in my application layout file.

Mostly, higher level tags get css, and then divs and tables get it too. That's about it, really.