Exactly as you described should work.
Hi, but i code like this :
<style> #header { background: url(<%= image_tag(@customer_logo.path_to_logo_image, :width => 250, :height => 100) %>) no-repeat; } </style>
this is producing error...
Jeff Emminger wrote:
I don't think you want to put an image tag there, probably just something like this instead:
<style> #header { background: url(<%= @customer_logo.path_to_logo_image %>) no-repeat; } </style>