locating images thru url in .css file
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.