Saturday, August 30, 2008

Style Sheets

When you want to use a style sheet, there are three things to remember
  1. Create the style sheet in public/stylesheets/ directory.
  2. Link to the stylesheet (usually in the app/views/layouts/model_name.erb file. (You should have one .erb per model available.
  3. Use the style sheets by appending the class attributes to the xml tags in your xhtml.

No comments: