• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CSS with images
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >CSS with images (From: Rukmal Dias <email@hidden>)

  • Prev by Date: Re: passing an object to a new window
  • Next by Date: Re: CSS with images
  • Previous by thread: CSS with images
  • Next by thread: Re: CSS with images
  • Index(es):
    • Date
    • Thread