Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^7: Too much indentation!

by Erez (Curate)
on Sep 15, 2008 at 05:40 UTC ( #711382=note: print w/ replies, xml ) Need Help??


in reply to Re^6: Too much indentation!
in thread Too much indentation!

Hmm.Some say it's better to read from top to bottom, so maybe this will be an improvement on readability?

Stop saying 'script'. Stop saying 'line-noise'.
We have nothing to lose but our metaphors.


Comment on Re^7: Too much indentation!
Re^8: Too much indentation!
by ambrus (Abbot) on Sep 15, 2008 at 07:49 UTC

    Try adding the following user CSS to your Display settings. It seemed to work for me, though it may not work for all browsers, and may have other effects too. Up the number of repetitions of ul to make the limit deeper.

    ul ul ul { padding-left: 0px }

    Update: yeah, do include the indent class as well.

      I personally believe that this is the most sensible note read thus far in this thread: naively I would answer that it can't work because nodes are not implemented as ul's - but that is what I also naively assume. In fact I just checked with firebug (although a CTRL-U would have been enough) and it turns out that indentation is precisely handled that way. More precisely the elements are ul.indent's thus I would include the class in the css spec: all in all as a solution it is slightly clumsy, but indeed it does work!

      --
      If you can't understand the incipit, then please check the IPB Campaign.
        Couldn't resist riding this gravy train right off the tracks.

        Edit: Come on guys, downvotes? Just trying to have a little fun when it's somewhat relevant!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2014-09-03 07:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (35 votes), past polls