Hi. I have a fluid layout and i need a textarea to expand/reduce depending of the size of the parent container.
In CSS it would look like this:
textarea{
width: 100%;
}
But this doesn´t work with textareas.
How can I do this with javascript? I can get the parent element width and them calculate the number of cols to fit that width but how do I know the size of 1 col (in px)?