One CSS property just killed every auto-resize textarea script you've ever written. Seriously, one line. The property is field-sizing: content