Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: PM Stylesheet on local filesystem?

by kcott (Abbot)
on Nov 18, 2010 at 00:07 UTC ( #872096=note: print w/ replies, xml ) Need Help??


in reply to PM Stylesheet on local filesystem? WORKS!

If you look at the source for a PM page after adding you external stylesheet, you'll see:

<link rel="stylesheet" href='file:///C:/Work/DATA/PM.css' type="text/c +ss" />

So, the short answer is "give up!".

The longer answer is that will be looking for that resource on the PM webserver, not on your PC. Ignore this - I got the client/server relationship back-to-front.

-- Ken


Comment on Re: PM Stylesheet on local filesystem?
Download Code
Re^2: PM Stylesheet on local filesystem?
by roboticus (Canon) on Nov 18, 2010 at 01:45 UTC

    OK, I may have to give up.

    But I don't understand: why is it a problem that the page source contains that link? Doesn't that link instruct the browser to read the style sheet from the local drive? Googling about (Wikipedia, RFC 396, ...) leads me to believe that file:///C:/Work/Data is a valid URI, so I would expect that firefox would use it without complaint.

    I realize no-one else would be able to use my stylesheet, but that's not an issue for me so long as I can use it!

    ...roboticus

      I wasn't suggesting the URI was invalid - it looks fine to me.

      I also wasn't suggesting the link showing up in the page source was a problem. That was really just intended to indicate that your change had done something and was in response to what you'd written regarding "didn't work".

      I did, however, get the client/server relationship back-to-front, so my apologies for that.

      -- Ken

Re^2: PM Stylesheet on local filesystem?
by Anonymous Monk on Nov 18, 2010 at 01:45 UTC
    The longer answer is that will be looking for that resource on the PM webserver, not on your PC.

    except that it won't, thats just silly

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2014-08-01 04:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (256 votes), past polls