javascript - decreasing font size in a text box dynamically -


Is it possible to dynamically control the font size in the text area / text box, so that the user decreases during the type ? (I.e. i + 1 is smaller than character i )

thanks

Post-text "itemprop =" text ">

No, it's not possible in text field or text box. The font-size specified for those controls will affect all those text. However, if you regularly visit & lt; Div & gt; You can achieve the effect by using and make your content editable, such as in WYSIWYG editors.

A simple example.


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -