On Tue, Apr 24, 2012 at 4:04 PM, Chris Mylonas <ch...@opencsta.org> wrote:
> Good question - I don't know about from within a CSS file.
> ...
> Looking into the tapestry source, specifically  
> src/main/resources/org/apache/tapestry5/tapestry-console.css
> it uses relative links to the pics in 
> src/main/resources/org/apache/tapestry5/silk/     [error.png|cancel.png|....]
> ...
> In the same src/main/resources/org/apache/tapestry5/  - there is the 
> default.css class.
> Here is a snippet
> IMG.t-autoloader-icon {
>    margin-left: 4px;
>    width: 16px;
>    height: 16px;
>    background: url(ajax-loader.gif);
> }

Duh, thanks for the hint. :)

With my images under src/main/webapp/images, I was using
../../../images/<file> when all I need to do is use
../ctx/images/<file>.

Problem solved, thanks!

-Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to