Instead of having a constant value for rows like rows="6" in the textarea tag, is there a way to have a dynamic value for rows based on the number of rows of the content. The content varies.
IE verion 6
This is the code
<TEXTAREA cols="160" rows="10" style="BORDER-BOTTOM-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-TOP-STYLE: none;" readonly >{$this-Value text}</TEXTAREA>
With the above code the text which is there in $this-Value is displayed with 10 rows and 120 columns with no borders around but with scrollbars when the content has 18 rows.
I should be able to display the
entire content whatever the number of rows the content spans through and with no scrollbars. The content is dynamic one-- it is not always the same.Hence the number of rows vary. How can I get the number of rows and how to display the entire content.