Re: beef with CSS-specified image URLs

-----BEGIN PGP SIGNED MESSAGE-----

At 06:14 PM 27/07/97 -0700, Todd Fahrner wrote:
>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.

Actually, the spec is crystal clear on this point:

"Partial URLs are interpreted relative to the source of the style sheet, 
not relative to the document" (http://www.w3.org/pub/WWW/TR/REC-CSS1#url)

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

Yes, since the above applies to all URLs.

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQB1AwUBM9wDsQ/JhtXygIx1AQHGJAMApFd1wYXjHAAQsTnm28QHvwhDsFX67qlB
SyVEsODovdi5CZaQXYKgp0CMBW3bUMBTjaSfam6HvCE+R49mosv6X9NMW8LFxWX1
zownAD3abLoTG5Fa7JDJSS+kFMnCdrWq
=Snvn
-----END PGP SIGNATURE-----

Liam Quinn
===============  http://www.htmlhelp.com/%7Eliam/  ===============
Web Design Group            Enhanced Designs, Web Site Development
http://www.htmlhelp.com/    http://enhanced-designs.com/
======  PGP Key at http://www.htmlhelp.com/%7Eliam/pgp.html  =====

Received on Sunday, 27 July 1997 22:27:29 UTC