I need a way to resize a textarea based on the width of the entire page. I have a div absolutely positioned next to it with a width of 40%, and I want to have my textarea take up the rest of the page. I know I can’t just say <textarea width="60%"...> because textarea doesn’t have a width attribute. Is there any way to tell textarea to take up a relative amount of space?
I need a way to resize a textarea based on the width of the
Share
You can specify the textarea width using CSS.
http://jsfiddle.net/stevelove/uFDB4/