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

locating images thru url in .css file


  • Subject: locating images thru url in .css file
  • From: Michael Warner <email@hidden>
  • Date: Mon, 8 Dec 2003 09:21:22 -0800

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.

  • Follow-Ups:
    • Re: locating images thru url in .css file
      • From: Alexander Spohr <email@hidden>
  • Prev by Date: Setting EOEditingContext's Undo Manager to null
  • Next by Date: Re: Setting EOEditingContext's Undo Manager to null
  • Previous by thread: Re: Setting EOEditingContext's Undo Manager to null
  • Next by thread: Re: locating images thru url in .css file
  • Index(es):
    • Date
    • Thread