if you keep your css and your images together in a package and use
relative urls in the css it will work.

-igor

On Fri, Feb 26, 2010 at 8:21 AM, Sergey Olefir <[email protected]> wrote:
> Hi,
>
> I'm wondering if it is possible to 'resolve' URLs in stylesheets so
> that they would point to packaged resources? Or at least so that
> they'll work regardless of what /context/ path application is using?
>
> Specifically, if I want to use something like in CSS:
> background-image: url(/images/corner.gif);
>
> Can I do something with image URL so that it'll refer to packaged
> resource or at least will have reference that'll work with any
> /context/ path (provided, of course, if I put the thing under
> web/images/corner.gif)? Packaged resources though would be much
> preferred.
>
> Thanks in advance!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to