Is there a way to create a fixed line text area that limits the user from typing beyond a certain number of lines and maximum width?
My current CSS styling for this is as follows:
.area-style {
resize: none;
width: 324px;
height: 200px;
max-height: 200px;
max-width: 324px;
overflow: hidden;
}
However, users can still type past the 'bottom' of the textarea (the text gets pushed up within the textarea) - I have noticed this in Chrome and Firefox. How can I prevent any additional text from being entered beyond that point?