Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

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:

  • Mark PM as a 'Trusted' site in NoScript
  • Tell NoScript to allow a local link. You can do it via Options | Advanced | Trusted | Allow local links.
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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-23 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found