Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Rein in overly long|wide code segments via CSS

by parv (Parson)
on Apr 02, 2008 at 09:37 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-04-23 15:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found