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


in reply to Re: Rein in overly long|wide code segments via CSS
in thread Rein in overly long|wide code segments via CSS

I see that "overflow" alone takes care of the width just fine; thanks grinder. I would still need to take care of overly long code segments myself.

Only if I could specify a maximum height after which "height:" attribute would take effect (without JavaScript)!

Replies are listed 'Best First'.
Re^3: Rein in overly long|wide code segments via CSS
by blokhead (Monsignor) on Apr 02, 2008 at 16:16 UTC
    The max-height attribute does exactly that. It works fine for me in my somewhat-recent Firefox.

    blokhead

      blokhead, that was very helpful. I have updated CSS accordingly.