This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design 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: 63227
    
  69

Use CSS sizing rules that specify percentages for metrics.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamic sizing text area using overflow:auto
 
It's not a secret anymore!