• 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: locating images thru url in .css file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: locating images thru url in .css file


  • Subject: Re: locating images thru url in .css file
  • From: Michael Warner <email@hidden>
  • Date: Mon, 8 Dec 2003 10:57:13 -0800

The image files are on my machine in the location specified. I am in Development mode
with WebObjects.


When I deploy the app, I will create identical folders and files on the deployment server.

Mike W.


On Monday, December 8, 2003, at 10:32 AM, Alexander Spohr wrote:

why not using /WebServer/Documents/MyImages/topblue.jpg?

are we talking about direct connect or a webserver?

	atze

Am 08.12.2003 um 18:21 schrieb Michael Warner:

I have a .css file in Resources that works, except that...

I have .gif and .jpg files in /WebServer/Documents/MyImages to be used as background images.

I want to set a background-image in my .css file something like this:

div#topBlue {
position: absolute;
top: 0px;
left: 0px;
background-image: url (/MyImages/topblue.jpg); or (../MyImages/topblue.jpg) or....
background-repeat: repeat-x;
background-color: transparent;
}


but this doesn't work.

So, how should I set things up so that my background images can be located and displayed?

Thanks,

Mike W.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: locating images thru url in .css file (From: Alexander Spohr <email@hidden>)

  • Prev by Date: RE: Getting A Key Value From An NSDictionary [SORTED]
  • Next by Date: Re: "Cannot obtain globalId for an object which..."
  • Previous by thread: Re: locating images thru url in .css file
  • Next by thread: Re: Setting EOEditingContext's Undo Manager to null
  • Index(es):
    • Date
    • Thread