[Seaside] URL references in stylesheet methods
claus_kick at web.de
Sun Nov 11 22:11:50 UTC 2007
Maarten Mostert wrote:
> If that is equivalent of starting a new session yes I did.
> Notice that the next line in this method changes the associated color
> wich changes correctly upon modifications.
> Using the File library also produces the image correctly. However the
> deployed image on the server does not produce the png file from the
> style method neither as a file library neither as a url link.
For normal browsers, images specified in .css are a bit tricky: the path
has to be set in relation to the position of the css file.
i.e. css file is in /css and image is in /images the url for the image
in the css file should be ../images/image.png.
More information about the seaside