• 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 background images
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CSS background images


  • Subject: Re: CSS background images
  • From: Bogdan Zlatanov <email@hidden>
  • Date: Wed, 13 Aug 2008 20:39:55 +0300

Howdy,

On Aug 13, 2008, at 6:43 PM, A wrote:

Thanks for the responses Mike and Denis, but I'm not quite sure what you mean.
In this case what is the correct way to type the relative URL?


I haven't managed to get anything to work yet.
How far back should I go?

It doesn't look like the CSS file is ever parsed. Whatever I enter in
the CSS file is display verbatim in the generated source, and
../Images/img doesn't work


If I got you right, try the following:

1. In your /Library/WebServer/Documents/WebObjects folder create a symlink that points to /path_to_your_workspace/path_to_your_project/ build/your_project.woa.
2. In your css file specify the path to the image like this: background: transparent url(/WebObjects/your_project.woa/Contents/ WebServerResources/your_image.png);


HTH,
bzlat
_______________________________________________
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 background images (From: A <email@hidden>)
 >Re: CSS background images (From: "Denis Frolov" <email@hidden>)
 >Re: CSS background images (From: A <email@hidden>)
 >Re: CSS background images (From: A <email@hidden>)

  • Prev by Date: Re: CSS background images
  • Next by Date: Re: CSS background images
  • Previous by thread: Re: CSS background images
  • Next by thread: Re: CSS background images
  • Index(es):
    • Date
    • Thread