aspose file tools*
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
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: 61772
    
  67

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