UPDATE: I finally figured it out (or rather, after sufficient googling, experimenting and such, I stumbled across Links to Local Pages Don't Work). Here's the deal: I'm using Firefox and NoScript. It turns out that the file: URI scheme is blocked as a security measure, to prevent rogue pages from executing local files on your computer. So, to make it work, I just do this:

Once I did that, and reloaded the page, my ugly style sheet went ahead and made PM pretty hideous. (While trying to make it work, and being sure of my inadequate CSS skills, I made some pretty fugly styles.

So if you're using FireFox and NoScript and want to do it, that's how. (For FF 3.5.15 and NoScript 2.0.5.1 anyway.) The same page also gave several other possible remedies, so give the page a look if you're having troubles.


Hello, fellow Monks:

After the recent thread on updating the site, I thought I'd teach myself something about style sheets and such. So on the Display Settings screen, I tried to set the Link to External CSS stylesheet: to "file:///C:/Work/DATA/PM.css", and it didn't work. I didn't expect that it would, really, as the help screen explicitly mentions that it should be a link to another webserver. I had the hope that the docs were a little overly restrictive.

Anyway, short of putting a web server together, or glomming some space on one somewhere, is there a way to get the style sheet from my local machine? A bit of googling didn't help much, as I couldn't think of any useful terms. (I tried perlmonks style sheet "file:///", perlmonks style sheet "client filesystem" and a few other searches, but can't find anything useful.

I guess I'm really looking for a pointer to a way to do it, or a definitive "give up!" message. (In the event of the latter, I guess I'll have to find a web server I can access from work...)

Thanks in advance!

...roboticus

Update: I should clarify it a bit. By "didn't work" I mean that when I tweaked some junk in my stylesheet, I couldn't detect any differences on the screen. However, as I haven't started learning them, I could've simply done something wrong. So a whack with a cluestick would be appreciated if that's my problem.


In reply to PM Stylesheet on local filesystem? WORKS! by roboticus

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.