• 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: WebObjects/WOnder CSS and Image path issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebObjects/WOnder CSS and Image path issues


  • Subject: Re: WebObjects/WOnder CSS and Image path issues
  • From: Ramsey Gurley <email@hidden>
  • Date: Sat, 30 Aug 2008 22:57:55 -0400

<webobject name = "CSS" />

ERXStyleSheet: CSS {

 filename = "example.css";

}

does the trick for me :-)

On Aug 30, 2008, at 8:02 PM, Andrew R. Kinnie wrote:

No. . . . should I be?

How does that work?


On Aug 30, 2008, at 7:57 PM, Ramsey Gurley wrote:

Are you using ERXStyleSheet?

On Aug 30, 2008, at 4:25 PM, Andrew R. Kinnie wrote:

Greetings:

I am converting an older WebObjects app to both WOnder and making better use of CSS. I did say it was an old app. Anyway, I followed the tutorial instructions for converting an existing application to WOnder, and it compiles and runs. I even managed to get it to see the stylesheet, because the fonts (for example) are appearing. However, I have attempted to add a background image in the CSS for a sidebar div, and it does not find the image. It appears to be related to the difference between static and dynamic images. All of the woimage images appear perfectly.

The image is in the project's webserver resources folder, and appeared properly in the old table based layout. The stylesheet is in a CSS subfolder inside WebServerResources.

I have tried (in the CSS)
image.gif
../image.gif
../WebServerResources/image.gif

None of these work. There should not be anything out of the ordinary in the setup, everything is inside the .woa (i.e. no split deployment) Where should I be looking? Where would these settings be?

Does anyone have any insight?

Thanks.

Andrew
_______________________________________________
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



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: WebObjects/WOnder CSS and Image path issues
      • From: "Andrew R. Kinnie" <email@hidden>
References: 
 >WebObjects/WOnder CSS and Image path issues (From: "Andrew R. Kinnie" <email@hidden>)
 >Re: WebObjects/WOnder CSS and Image path issues (From: Ramsey Gurley <email@hidden>)

  • Prev by Date: Re: WebObjects/WOnder CSS and Image path issues
  • Next by Date: Re: WebObjects/WOnder CSS and Image path issues
  • Previous by thread: Re: WebObjects/WOnder CSS and Image path issues
  • Next by thread: Re: WebObjects/WOnder CSS and Image path issues
  • Index(es):
    • Date
    • Thread