Thanks for everyone's suggestions. I was looking for something really simple and this will do. For a fixed-width font, the browser should figure out the required width correctly.

Jon Austin wrote:
Do you mean:

<input type="text" name="blah" value="#defaultvar#" size="#Len(defaultvar)#">

I'm not sure if the number of characters and the size attribute are 1:1.


On Mon, 01 Nov 2004 17:45:02 +1100, Ayudh Nagara <[EMAIL PROTECTED]> wrote:

Is there a simple way to autosize a form field so that it is just wide
enough to accommodate the text value at page load time (as specified in
VALUE parameter)?

-- Regards: Ayudh

+----------------------------------------------------------------+
| SOAP is the glue! Hook up your server directly to your bank.   |
| Connect to VeriPay xServ, the Australian Payments Web Service. |
| Reliable, Secure, FAST: http://www.xilo.com/xserv              |
+----------------------------------------------------------------+


--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to