Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: PM Stylesheet on local filesystem?

by sundialsvc4 (Abbot)
on Nov 18, 2010 at 01:38 UTC ( #872108=note: print w/replies, xml ) Need Help??

in reply to PM Stylesheet on local filesystem? WORKS!

Don’t forget that the web-browser will request the stylesheet ... and that it will use a URL to do it, just as it requests anything and everything else that it receives.   So... the source file has to be somewhere (on the system that’s hosting the web-server) that corresponds to a URL that a web-client can issue.   And all pages, etc., must contain that URL.

The web-client does not know, nor does it care, that the file actually resides “at such-and-such place on such-and-such drive.”

Replies are listed 'Best First'.
Re^2: PM Stylesheet on local filesystem?
by Anonymous Monk on Nov 18, 2010 at 02:12 UTC
    "file:///C:/Work/DATA/PM.css" is a valid URL and a browser will request the valid "file:///C:/Work/DATA/PM.css" URL and will look for it on your local system on C drive in Work/Data/PM.css

      Thanks for the tip!

      After opening the FireFox Error console, I saw the error messages coming up, which led me to the overall solution.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://872108]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2018-02-21 05:50 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (275 votes). Check out past polls.