Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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 cooling their heels in the Monastery: (4)
As of 2017-10-22 16:12 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (273 votes). Check out past polls.