How to a Remove Vertical Scrollbar in an HTML Form Field Text Area
A "text area" text box displays a multi-line form field where users can type in long paragraphs and comments. You can limit the text area using the scroll bars that show up when the user types in text that exceeds the height of the field. You can control the vertical scroll bar using the "overflow" style property in the text area's tag declaration.
Instructions
-
-
1
Right-click the file you want to edit and select "Open With." Double-click the HTML editor you use to edit the HTML pages.
-
2
Scroll down the page to the location of the text area. The text area form field looks like the following HTML code:
<textarea rows="10" cols="10"></textarea>
-
-
3
Add the following code to the tag to hide the scrollbar:
<textarea rows="10" cols="10" style="overflow:hidden"></textarea>
The added "style" property tells the browser to ignore any text that exceeds the height of the text area field, which means users cannot see any text that causes the field to scroll.
-
1