W3C home > Mailing lists > Public > www-style@w3.org > July 1997

Re: beef with CSS-specified image URLs

From: Chris Lilley <Chris.Lilley@sophia.inria.fr>
Date: Mon, 28 Jul 1997 16:56:39 +0200 (MET)
Message-Id: <9707281656.ZM15624@grommit.inria.fr>
To: Todd Fahrner <fahrner@pobox.com>, www-style@w3.org
On Jul 27,  6:14pm, 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.

Is your complaint about NS4 or CSS1?

> The specification is unclear.

Really? While certain aspects of the spec are certainly unclear - and I am
always glad to hear about any parts of the spec that need clarification in
later releases - that part seems quite unambiguous:


  Partial URLs are interpreted relative to the source of the style
  sheet, not relative to the document

> I think CSS-specified image URLs should be relative to the stylesheet,

Good, because that is how they are supposed to be. I agree that this eases

Chris Lilley, W3C                          [ http://www.w3.org/ ]
Graphics and Fonts Guy            The World Wide Web Consortium
http://www.w3.org/people/chris/              INRIA,  Projet W3C
chris@w3.org                       2004 Rt des Lucioles / BP 93
+33 (0)4 93 65 79 87       06902 Sophia Antipolis Cedex, France
Received on Monday, 28 July 1997 10:56:46 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:44 UTC