Re: A simple Question

Peter Flynn (pflynn@imbolc.ucc.ie)
22 Aug 1997 21:18:31 +0100 (BST)


Date: 22 Aug 1997 21:18:31 +0100 (BST)
From: Peter Flynn <pflynn@imbolc.ucc.ie>
In-reply-to: <3.0.3.32.19970822150646.0068c774@smtp.idt.net> from "jptxs" at
To: jptxs@idt.net (jptxs)
Cc: www-html@w3.org
Message-id: <199708222018.VAA02654@imbolc.ucc.ie>
Subject: Re: A simple Question

> does anyone know the point size of the type in a form's TEXTAREA?  I need
> to know the exact size of a specific amount of text (1650 char.'s including
> spaces) for a field of information from a form that will then be fitted
> into a journal with pre-defined spaces for the entries.

The point-size is irrelevant because many browsers show the TEXTAREA
in a fixed-width font over which the user (not you) has control. You
can define the number of rows and cols in attributes, so 1650 could be
21 lines of 80 characters or 42 lines of 40 characters, or whatever
you calculate. But the area is scollable anyway, so it really
shouldn't matter, and the user can exceed the size at will. You can
make a shot at it, but if you need to exert this level of control you
probably need a piece of scripting one end or the other.

///Peter