W3C home > Mailing lists > Public > www-html@w3.org > October 2001

Re: RE: textarea syntax

From: ptaff ptaff <ptaff@beer.com>
Date: Thu, 18 Oct 2001 08:41:07 -0400
Message-Id: <16D656056748F4942883C77868BAEA50@ptaff.beer.com>
To: www-html@w3.org
Hi again all,

>>  it'd be nice to have a parameter like 'length'
>> <textarea name="x" length="512"></textarea>
>>   which would basically mean "cols=32 rows=16"
>it sounds like just another way of
>presentational formatting in HTML.

I made myself unclear; I meant that by using a
'length=512' attribute we would remove all
presentational formatting - that is, the textarea
would be rendered according to the space
available, the same way a <p> containing 512
glyphs is rendered.  In a 32 column environnment
the web browser would create 16 lines - and
resizing that browser window to 64 columns would
reformat the textarea to 8 lines.

>So here is what I suggest to you: use CSS.

It already works for me ;) the purpose of this
mail was to demonstrate that even in
HTML4.0/XHTML 1.0 you're _forced_ to use
presentational parameters - even if they are
overriden by CSS.

Thanks for your time

--
Wayne A. Ptaff
ptaff@beer.com  


A beer.com Beer Mail fanatic
Beer Mail, brought to you by your friends at beer.com.
Received on Thursday, 18 October 2001 08:23:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:49 GMT