Forum: Ruby on Rails Image links in stylesheets?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
BA Baracus (Guest)
on 2006-06-04 23:04
(Received via mailing list)

I understand the logic behind using image_tag in rhtml to maintain app
portability, but how do you link to images in a stylesheet maintaining
that same portability?

Thanks for your help!


B.A. Baracus: I thought you weren't crazy no more?
Murdock: Only on paper.
Dave T. (Guest)
on 2006-06-04 23:16
(Received via mailing list)
You could use generated css from erb along with a "img" helper.  I use


On Sunday, June 04, 2006, at 7:02 PM, BA Baracus wrote:
>B.A. Baracus: I thought you weren't crazy no more?
>Murdock: Only on paper.
>Posted with  Sign up and save your mailbox.
>Rails mailing list

--Dave T. - Password Manager + AutoFill for Mac OS X - Email list management - Apps for your hand-held
This topic is locked and can not be replied to.