Hey Guys,
i got a problem. i have a textarea with fixed width and height (750x393px) and large font-size (eg. 100px). if you type in this textarea, the font-size should automatically be reduced so the typed text fits into the textarea. if you delete some chars the font-size should increase.
you know what i mean? there should be no overflow and no scrollbar. the font-size should decrease or increase, so that the text fits into the textarea.
this is the basic markup: http://jsfiddle.net/rmh6v5qo/
a found a similar script, but this is a div, not a textarea and i dont know how to change this into a textarea: http://jsfiddle.net/gwyqsk0s/
and here is a script with a textarea, but the font-size doesnt increase, if i delete some chars: http://jsfiddle.net/XCXJb/1/
can someone help me with that?