Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
There's more than one way to do things
 
PerlMonks  

Rein in overly long|wide code segments via CSS

by parv (Priest)
on Apr 02, 2008 at 09:37 UTC ( #677921=monkdiscuss: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    /*  Works as expected in Firefox 2.0.x & Opera 9.5.
    */
    ...
      width: 100ex;
      */
    }
    
  2. or download this
    p.code, pre.code
    {
    ...
      overflow: auto;
      max-height: 55ex;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2014-04-20 02:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls