Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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 stylesheet..as 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


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

    aquarium:

    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.)

    ...roboticus

      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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2014-04-18 00:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (460 votes), past polls