Re: CSS background images
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