RE: URL difficulty, Netscape 4.75
by "Kevin W. Bishop" <bishopk(at)rpi.edu>
|
Date: |
Tue, 04 Jun 2002 15:14:26 -0400 |
To: |
"Hwg Style" <hwg-style(at)hwg.org> |
In-Reply-To: |
ex01 |
|
todo: View
Thread,
Original
|
|
Thank you! You're absolutely right. I misunderstood and believed it was
embedded styles we were talking about.
So, if we were declaring the url for a background image in the embedded
styles of an html document, a relative url would take the html document as
its point of reference, wouldn't it?
In too much of a hurry today,
-kb
At 12:46 PM 6/4/2002 -0500, you wrote:
> >> 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
_________________________________________
Kevin W. Bishop > bishopk(at)rpi.edu
Communication & Collaboration Technologies
Rensselaer Polytechnic Institute
RPInfo: http://www.rpi.edu/rpinfo/
Kiosk: http://j2ee.rpi.edu:8080/kiosk/setup.do
HWG hwg-style mailing list archives,
maintained by Webmasters @ IWA