Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: PM Stylesheet on local filesystem? WORKS!

by aquarium (Curate)
on Nov 18, 2010 at 04:43 UTC ( #872130=note: print w/replies, xml ) Need Help??

in reply to PM Stylesheet on local filesystem? WORKS!

as has been already stated, if the stylesheet on the PM website points to file:// uri, then it will be trying to get it from the server file system (instead of web server), which won't work. there are websites that do allow custom stylesheets, but that's old stuff anyway, as firefox and other browsers are bringing capability to override any website with your own stylesheet(s). which is what will work for PM etc. Just read up on your browser feature for overriding it has nothing to do with setting a stylesheet on your PM settings
btw a good way to test any stylesheet is to set a 1px border for all elements. it makes all the boxmodels visible for all elements, and sure is visible.
* { border: 1px solid red }
the hardest line to type correctly is: stty erase ^H

Replies are listed 'Best First'.
Re^2: PM Stylesheet on local filesystem? WORKS!
by roboticus (Chancellor) on Nov 18, 2010 at 12:21 UTC


    I had a hard time deciding whether to ++ this node or not.

    Clearly, the specified file: URI tells the web browser to read the file from its local hard drive, not from a remote server. But your example of a good test case for CSS is spot on (simple and obvious!). These two came up to a draw.

    Ultimately, your signature line won me over, so ++! (For some reason at work, my rxvt windows keep losing echo, usually when breaking out of a command | more pipeline, and I have to type stty echo to correct it.)


      yeah...pesky terminals. whenever i used to setup sun servers, it's a pain to type it correctly each time, before you finally get an OS and some sane terminal settings. before that setting, you can't use the backspace key, so need to type perfectly. this is on actual hardware terminal attached to server
      the new browser feature for overriding site stylesheets is implemented directly in the browser, and works perfectly/logically to override all styles on target website, whether they be css or inline html styles..and inline styles have high precedence normally. applying the styles at browser level allows to override all styles.
      try "command | less"...might work better, as "less" is more terminal aware.
      the hardest line to type correctly is: stty erase ^H

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://872130]
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: (3)
As of 2020-05-27 00:59 GMT
Find Nodes?
    Voting Booth?
    If programming languages were movie genres, Perl would be:

    Results (152 votes). Check out past polls.