Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Rein in overly long|wide code segments via CSS

by parv (Priest)
on Apr 02, 2008 at 10:34 UTC ( #677932=note: print w/ replies, xml ) Need Help??


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)!


Comment on Re^2: Rein in overly long|wide code segments via CSS
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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2015-07-30 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls