in reply to Re^3: Estimating height of TEXTAREA from contentin thread Estimating height of TEXTAREA from content
my @rows = split("\n", fill('','', $content)); my $rows = $#rows + 1; [download]
Maybe?
-Andrew.