Stephen Cunliffe wrote:
> <snip>
> if one of the styles, has something like:
>
> div.foo{
>   background-image: url(pic.png);
> }
>
> Then it only works, when "loaded" from the "root" directory...
>
> So, the question is, outside of defining several duplicate css files 
> (with different paths), or copying the images (there would likely be a 
> few), to each and every directory, is there a way around this?
>   
</snip>

You could use an absolute position:

div.foo{
  background-image: url(/images/pic.png);
}

-Nick

______________________________________________________________________
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