Posted by Els on 07/26/06 17:02
kdarling@basit.com wrote:
>>> No idea why, as it's in the same directory as the stylesheet.
>>
>> Indeed. Really strange...
>
> I think that's because the base url is the web page, which is in the
> /html directory. The urls in the .css will be based off that.
>
> We had the same problem with behaviors (.htc files), where included
> script files had to be relative to the web page. This made it
> impossible to encapsulate behaviors in standalone directories. Grrr.
Scripts and includes are different, but images called from a
stylesheet are relative to the stylesheet, not to the HTML file.
--
Els http://locusmeus.com/
[Back to original message]
|