Textarea without scrollbar [duplicate]

0

Whenever you type inside a textarea, the scroll bar appears to go down and see the rest of the text.

What I want is for textarea to automatically drop down, type, when I'm typing inside the textarea, instead of scrolling, it automatically goes down.

I'm using HTML5 and CSS

    
asked by anonymous 01.09.2016 / 22:27

2 answers

1

You can try "autoResize" with Jquery. So the textarea box will expand, without the scrollbar.

$('textarea').autoResize();

Or another simpler option is to set scroll to hidden.

 height: 75px;   
 overflow-y: hidden;

Follow a link to some examples Examples

    
02.09.2016 / 04:02
0

Use the css property called overflow-y: scroll . This way you will be able to make textarea down automatically.

#textAreaId{
   overflow-y: scroll;
   resize: none;
}
    
01.09.2016 / 23:16