Hi Rukmal,
Am 14.07.2009 um 10:12 schrieb Rukmal Dias:
hi,
I need to use css with images (e.g: background-image: "../
image.gif";) I used ERXStyleSheet and checked, but images are not
applied as back-grounds etc.
<webobject name ="SSCSS"></webobject>
SSCSS : ERXStyleSheet{
filename = "viewport_dragresize.css";
framework = "whatever";
}
.bg{
background-image: url("test.jpg") repeat-x; // (/WebServerResources/
test.jpg )
height: 130px;
}
You'll have to make sure the image is available under that URL. E.g.:
url("/WebObjects/YourApplication.woa/Contents/WebServerResources/
test.jpg")
Or rewrite/alias this to something shorter via apache.
cheers, Fabian
Can anyone tell me how to use these correctly..
Thanks
Rukmal Dias
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/lists.fabian%40e-lumo.com
This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]