beef with CSS-specified image URLs

When specifying an image in CSS (say, a background image, or a list-item
marker), the URL given in the stylesheet is relative to the HTML document,
not to the stylesheet, at least as implemented in NS4. The specification is
unclear.

I think CSS-specified image URLs should be relative to the stylesheet,
instead. Think about it: with HTML documents distributed across directories
and networks, it is now impossible to maintain a central stylesheet with
any image references. It is only a half-solution to use absolute reference,
as this is fraught with the same maintenance and portability compromises as
in HTML.

I haven't played with @import yet within stand-alone CSS files. I assume
URLs within these will refer relatively to the CSS document?

________________________________________
Todd Fahrner
mailto:fahrner@pobox.com
http://www.verso.com/

The printed page transcends space and time. The printed page, the
infinitude of books, must be transcended. THE ELECTRO-LIBRARY.

--El Lissitzky, 1923

Received on Sunday, 27 July 1997 21:03:26 UTC