Yannick Schall wrote:
> I'm working on this:
> http://kosmonot.bl1nd.com/clockwork/test_layout_016.html
>
> i use a lot of background images from an imported style sheet using 
> @import.
> everything is all right but that i have to supply the complete path to 
> the image in my style sheet like this
>
> background-image: url(http://kosmonot.bl1nd.com/clockwork/i/fringe.gif);
>
> if i do this
>
> background-image: url(i/fringe.gif);
>
> it does not find the image.
>   

All paths in the style sheet are relative to the style sheet, not the 
page that the style sheet ends up being added to. If your style sheet is 
in /clockwork/c/, and your image is in /clockwork/i/, you can use either 
of these paths to the image from the style sheet:

background-image: url(/clockwork/i/fringe.gif);

background-image: url(../i/fringe.gif);


Zoe


-- 
Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center
http://www.hsrc.unc.edu


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to