Expanding Text Areas Made Elegant - Thinkkeno Internet Marketing
4685
post-template-default,single,single-post,postid-4685,single-format-standard,ajax_fade,page_not_loaded,,select-theme-ver-3.8.1,fs-menu-animation-line-through,popup-menu-text-from-top
 

Expanding Text Areas Made Elegant

Expanding Text Areas Made Elegant

An expanding text area is a mutli-line text input field that expands in height to fit its contents. Commonly found in both desktop and mobile applications, such as the SMS composition field on the iPhone, it’s a good choice when you don’t know how much text the user will write and you want to keep the layout compact; as such, it’s especially useful on interfaces targeted at smartphones. Yet despite the ubiquity of this control, there’s no way to create it using only HTML and CSS, and most JavaScript solutions have suffered from guesswork, inaccuracy, or a lack of elegance … until now.