BartÅ‚omiej Kozielski wrote:
> what must I do for the textbox to automatically set its height depending on
> the number of lines in it? Is there any CSS rule?
No rule via number of lines, (well, perhaps if you calculated the height of each line in the textbox
and applied it.. but would probably be inconsistent between browsers) however, the 'rows' attribute
of the textarea (which may be required anyway, depending on your doctype) would perform exactly what
you're trying to do. And since you're already using PHP...
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/