http://blog.hasmanythrough.com/2007/10/18/simpler-than-dirt-restful-
dynamic-css
That will help if you are on a new enough version of trunk.
On Oct 31, 2007, at 11:22 PM, Elliott Blatt wrote:
>
> John,
>
> Thank you for your reply.
>
> It certainly makes sense...but there's rub. Perhaps not
> insurmountable.
> The problem is that the name of the file to serve as the background
> images is determined at run-time. Thus, referencing an external
> stylesheet would not be possible. However, I could use style tags
> like
> this:
>
> <style>
> element.regular { background:url(images/#{regular}.png) no-
> repeat; }
> element.alternate { background:url(images/#{alternate}.png) no-
> repeat;
> }
> </style>
>
>
> Thanks again, and I'll report back.
> --
> Posted via http://www.ruby-forum.com/.
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Deploying Rails" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---