Is there a way to make a <textarea> use the whole available height of a window?
I have a popup-window(opened via JavaScript) and resizes this to fit the screen. And I want to have a textarea in the popupwindow use the whole available height.
My first "try" was to make a form which submits the screenheight/from JavaScript) to a php-script which then resizes the height of the <textarea> accordingly. But this doesnt work. The height actuallt depends on which "font" the broser is using.
Is there a easier way, or is there a way to get the height of the "current font" in pixels or something?