We have a number of large textareas on a page which all have fixed heights, for example:
<textarea id="qt_107" name="qt_107" style="width:695px;height:150px;" maxlength="8000" question="107" class="">
I am working on the print version of the css for this page, and we would like the heights of the textareas to change to display all of the text within the textarea.
I have looked online for a solution, but only came across JQuery / Javascript methods, which would apply to the webpage on all media types, not just print.
I also tried height:auto!important;
but this doesn't work.
Thanks
Edit: I understand this is not possible without javascript, Is it possible to only run the javascript on the print view, and not on the screen?