Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: PM Stylesheet on local filesystem?

by sundialsvc4 (Abbot)
on Nov 18, 2010 at 01:38 UTC ( [id://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.

      ...roboticus

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-24 07:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found