what I usually do is put the images in public/images/blablabla.jpg
then just do  background-image: url(/images/RRB_header.jpg);
because I think when u do / <- this directly points to public
so if u do /assets/images/bla2.jpg  means /public/assets/images/bla2.jpg
i might be wrong though.



On Fri, Nov 18, 2011 at 4:37 PM, David Burton <[email protected]> wrote:

> I tried this in my CSS :
>  #header {
>  width: 870px;
>  height: 120px;
>  margin: 0px auto;
>  padding: 10px 0px;
>        background-image: url(/images/RRB_header.jpg);
> }
>
> The jpg file is in app/assets/images
>
> But, the image doesn't show up.
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" 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-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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-talk?hl=en.

Reply via email to