Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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.”


Comment on Re: PM Stylesheet on local filesystem?
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.

      ...roboticus

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://872108]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (11)
As of 2014-12-25 04:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls