need help with CSS codes

hi, I need css codes that i can use.I need someone to help out because I don’t want to use the one inside the text…agile web dev with rails that is available at

http://media.pragprog.com/titles/rails3/code/depot_c/public/stylesheets/depot.css

Regards and Respects,

Kindness in thought leads to wisdom. Kindness in speech leads to eloquence. Kindness in action leads to love.

checkout the themes plugin from Eric Berry at http://github.com/cavneb/themes

There you see the example. It’s just two lines of code you have to type.

Good luck anyway.

Cheers,

Chris

As suggested in this email, I install Eric Berrys themes, but it isn't working as expected.

The git directory is there. The themes are in the appropriate location.

At the top of charges.html.erb, I have added :

     <% use_theme('bitbucket') %>

In the application_controller.rb I have added:

     layout 'themes'

But, I get this error:

Showing app/views/layouts/charges.html.erb where line #9 raised: undefined method `use_theme' for #<ActionView::Base:0x101f61100>

If I removed <% use_theme('bitbucket') %> from the head, the page renders correctly. Do I need to define the method somewhere?

*susan*

Hi,

sorry for that late response.

Put this in your *layout.html.erb* file (if you have one. Normally, it must go into the <HEAD>-tag of html) <%= use_theme('bitbucket') %>

To use the default layout for these themes, add the following to *application_controller.rb*   layout 'themes'

This should work.

Cheers, Chris