Hi Roy,

On 9 Jan 2009, at 10:51, Roy Wright wrote:

> The problem appears to be that merb is wanting to route the image
> url request to a controller:
>
> merb : worker (port 4000) ~ No routes match the request: /stylesheets/
> images/paw_print.gif - (Merb::ControllerExceptions::NotFound)

Your problem is that images are resolved relative to the stylesheet  
file rather than the html file, so your browser is not looking in '/ 
images' but in '/stylesheets/images' which, I assume, doesn't exist.

To fix, simply change your rule above to make the url of the image  
absolute:

.banner
   :background-image url(/images/paw_print.gif)

Hope that sorts you out.

Best,

g


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to