Image links in stylesheets?

Guys,

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.


B.A. Baracus: I thought you weren’t crazy no more?
Murdock: Only on paper.

You could use generated css from erb along with a “img” helper. I use
this:

http://blog.hasmanythrough.com/articles/2006/03/23/dirt-simple-rcss-templates

HTH.

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 http://DevLists.com. Sign up and save your mailbox.


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

Cheers!
–Dave T.
http://1passwd.com - Password Manager + AutoFill for Mac OS X
http://devlists.com - Email list management
http://palmsphere.com - Apps for your hand-held