Customising The Textarea Element

When you add a textarea to your webpage it will allow the webpage visitor access to resize the textarea to any size they want horizontal and vertical. In chrome you are only able to resize the textarea on the vertical.

There is a CSS property that allows you to control how the user can resize textareas.

resize: both;
resize: horizontal;
resize: vertical;
resize: none;

Resize Both

<textarea style="resize: both;">
Resize the textarea both horizontal and vertical

Resize Horizontal

<textarea style="resize: horizontal;">
Resize horizontal

Resize Vertical

<textarea style="resize: vertical;">
Resize vertical

Resize None

<textarea style="resize: none;">
No resizing

Advertise here 50% Off