Hi,
Quick question really, and feel a bit dense asking it! When you have a text box that is say width=30, but your user puts a long piece of text in, when you tab out (in IE7 and FF2.0.0.9 at least!) the textbox still shows the last characters you put in. Is it possible to have it return to the start and show the first characters entered instead (effectively left justifying it)? I'm not sure if this is something that is controlled by the browser, or something that can be changed with code.
Can anyone help?
Thanks
Ali

11-21-2007, 02:06 PM

jscheuer1

There may be a pure HTML way to do this, but I don't know it if there is one. Javascript can do it:

The script could even be made external and used with multiple pages. It must appear or be linked as the very last thing before the </body> tag (or at least be after all text inputs on the page that you want this treatment given to).