Dynamic Css from database

Hi,
I will be creating a series of templates for a website.

The user can select the template to personalize their view.

Instead of writing different css for each layout as they will all
contain the same information but with different colors or the background
images will be different I was wondering if these values could be loaded
into the css from a database when the user selects the layout.

That way only 1 css file needs to be created.

Is there something that works with rails3?

Thanks in advance

Mitch

not sure I would go about it this way. You could just dynamically apply
a class in the view based on a single db value.

Garrett L.

Garrett L. wrote in post #979922:

not sure I would go about it this way. You could just dynamically apply
a class in the view based on a single db value.

Garrett L.

You are so right. I think I will just create the different css and html
for each template. Easier and I won’t have that many templates.

Thank you for your suggestion.

Mitch