How can I make a div grow tall when the text area changes in html?
I have the following code
<div class="reply"> <p>Please enter your reply:</p> <textarea rows="4" cols="80"></textarea> <br /> <input type="submit" value="Submit reply"/> <div class="clear"></div> </div>
However, when the user resizes, the text area exits from its container, how can I increase the height of the parent div with the size of the text area?
Problem Image

source share