To resize your textarea’s only horizontal or vertical,
css code
textarea { resize: vertical; }
textarea { resize: horizontal; }
Finally, resize: both enables the resize grabber.
Use the CSS3 resize(http://www.tutorialrepublic.com/css-reference/css3-resize-property.php) property to remove or turn-off the default horizontal and vertical resizable property of the HTML <textarea>(http://www.tutorialrepublic.com/html-reference/html-textarea-tag.php) element.
This property will also hide the resizing at the bottom-right corner of the textarea.
css code
textarea { resize: none; }
[ad type=”banner”]
Specify that a <div> element should be resizable by the user:
css code
div { resize: both; overflow: auto; }
you can resize by restrictions i.e. none, both, horizontal, vertical, and inherit.
For below code, user can resize vertically, but the width is fixed.
Wikitechy Founder, Author, International Speaker, and Job Consultant. My role as the CEO of Wikitechy, I help businesses build their next generation digital platforms and help with their product innovation and growth strategy. I'm a frequent speaker at tech conferences and events.
[Solution 6 Answers] The version of the .NET Framework launch condition ‘.NET Framework 4’ does not match the selected .NET Framework bootstrapper package
Next Story
[
[Solved – 10 Answers] Click through a DIV to underlying elements