RE: URL difficulty, Netscape 4.75

by "Sauyet, Scott (OTS-HAR)" <Scott_Sauyet(at)output.net>

 Date:  Tue, 4 Jun 2002 12:46:02 -0500
 To:  "'Kevin W. Bishop'" <bishopk(at)rpi.edu>,
Hwg Style <hwg-style(at)hwg.org>
  todo: View Thread, Original
>> Unfortunately, N4 makes the URL relative to the HTML page instead of to 
> > the stylesheet (what WERE they thinking!!?!).

> Actually, I think they were following W3C recommendations:

I said something similar, too.  But then I realized that it was likely
old NN4 thinking that was affecting me.

from http://www.w3.org/TR/REC-CSS2/syndata.html#uri:

    "For example, suppose the following rule:

        BODY { background: url("yellow") }

    is located in a style sheet designated by the URI:

        http://www.myorg.org/style/basic.css

    The background of the source document's BODY will be 
    tiled with whatever image is described by the resource
    designated by the URI 

        http://www.myorg.org/style/yellow"


So the URI / URL should by the specs be -- and in most browsers, will be --
relative to the stylesheet.

  -- Scott

HWG hwg-style mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.