This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Dynamic sizing text area using overflow:auto Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Dynamic sizing text area using overflow:auto" Watch "Dynamic sizing text area using overflow:auto" New topic
Author

Dynamic sizing text area using overflow:auto

Dale DeMott
Ranch Hand

Joined: Nov 02, 2000
Posts: 515
I am using overflow:auto inside my div tag which gives the text window a scroll bar when the text area needs it. What I want to add to the system is the ability to have the HEIGHT of the window shrink and grow according to the size of the browser window. Any clue in how to do this??
[ February 01, 2006: Message edited by: Dale DeMott ]

By failing to prepare, you are preparing to fail.<br />Benjamin Franklin (1706 - 1790)
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

Use CSS sizing rules that specify percentages for metrics.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
wood burning stoves
 
subject: Dynamic sizing text area using overflow:auto
 
Similar Threads
Rich faces window resize issue
Controlling DIV and/or TR height
Reading a textarea as a stream
How to render an html table in a text area?
method takes longer each time