1) WO 5.4 2) Direct Connect (I assume, it was just running from the build in Eclipse, not after being deployed)
3) The Safari Activity Window does not even list the background image, though it does show the CSS. Presumably, that is a problem, though I have no idea why.
4) The Eclipse WO Package Explorer has a WebServerResources folder, with all of the various images in it, as well as a CSS subfolder containing the CSS file. The resulting .woa has xxx.woa/Contents/WebServerResources folder containing all the images as well as a CSS subfolder containing the CSS file, so they do mirror each other.
I assumed this was the way this was supposed to be, but I am at a loss as to why the WOImages display (images in the same location) but the background-image: "image.gif" seems to be completely ignored.
The CSS is as follows:
body {
font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif; font-size: .75em; line-height: 1.4em; text-align: left; padding: 0px; } #sidebar { background-image: "../Image.gif"; background-repeat: repeat-y; float: left; width: 210px; height: 100%; }
I have also tried the background image in the body tag, and I have also tried "Image.gif" rather than ../Image.gif"
Andrew On Aug 31, 2008, at 9:38 PM, Mike Schrag wrote: Date: Sat, 30 Aug 2008 23:49:14 -0400 From: Mike Schrag < email@hidden> Subject: Re: WebObjects/WOnder CSS and Image path issues To: Apple WebObjects Dev < email@hidden> Message-ID: < email@hidden"> email@hidden> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes OK, I used the "Mike Schrag" component from the Wonder tutorial, and
the app can see the CSS (for fonts at least). I also just tried the
ERXStyleSheet and got the same result.
1) WO 5.3 or 5.4? 2) DirectConnect or Apache? 3) What does Activity Window in Safari show the two URLs to be (CSS vs image)? 4) What does the layout of your build folder's WebServerResources look like? Are the files stored in subfolders like you expect? ms
|