Look at what url is your stylesheet. The images withing stylesheet are
always located relatively to the stylesheet itself.
-Matej
On 6/1/07, Thomas R. Corbin <[EMAIL PROTECTED]> wrote:
>
> I have a line like this in my css. the css is in the package
> com.samsix.wicket.style. But I expected, presumably falsely that the gif
> file would be found at the root of my application, not relative to that
> package's path.
>
> background:url("images/tabs/left.gif") no-repeat left top;
>
> Yet it seems to be looking relative to the package path. I can go ahead and
> change the location of the gif file, but wondered what I would do if I didn't
> or couldn't move the gif files.
>
> Currently it seems to be looking in
>
> localhost:8084/nrg/app/resources/com.samsix.wicket.NrgPage/style/images/tab/left.gif
>
> Thanks,
> Tom
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user