<textarea class="comments" style="height:expression((this.scrollHeight>300)?'300px':(this.scrollHeight+5)+'px');overflow:auto;"></textarea>