Re: CSS with images
Re: CSS with images
- Subject: Re: CSS with images
- From: Fabian Peters <email@hidden>
- Date: Tue, 14 Jul 2009 11:55:24 +0000
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden