• 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: Mike Schrag <email@hidden>
  • Date: Wed, 13 Aug 2008 09:19:54 -0400

Relative urls in css should work - we use this approach for all our
projects. Open Activity window in Safari to debug the url to image
that doesn't work. You should see semething like:

http://localhost/cgi-bin/WebObjects/MyApp.woa/-41424/wr/wodata=/Users/user/Documents/workspace/MyApp/build/MyApp.woa/Contents/WebServerResources/images/logo.gif
^^^ Because you're using Wonder. If you're not using wonder, this is / wr?wodata, and relative URLs do not work, because it replaces the entire path. Wonder generates path URLs and parses out the wodata in the request handler ... This is one of my favorite little Anjo tricks, actually. Simple and genius :)

ms



_______________________________________________
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


  • Follow-Ups:
    • Re: CSS background images
      • From: "Denis Frolov" <email@hidden>
References: 
 >CSS background images (From: A <email@hidden>)
 >Re: CSS background images (From: "Denis Frolov" <email@hidden>)

  • Prev by Date: Re: Is D2W dead? [Was: WebAssistant IllegalStateException]
  • Next by Date: Sproutcore.framework
  • Previous by thread: Re: CSS background images
  • Next by thread: Re: CSS background images
  • Index(es):
    • Date
    • Thread