Topic: change background image based on database variable?

I'm recording a value in my database that keeps track of a user's contribution to the site. (like a karma rating)  What I'd like to do is alter the background image of the site depending on that value.  Anyone know how to do that?

To my knowledge CSS won't take variables and I'm not sure how else to do it.. could I use inline css on my application.rhtml layout?

Re: change background image based on database variable?

How about giving the tag (body?) a different id/class depending on their status.

Railscasts - Free Ruby on Rails Screencasts