http://www.perlmonks.org?node_id=711382


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.

Replies are listed 'Best First'.
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!