Link to home
Start Free TrialLog in
Avatar of Anoopi
Anoopi

asked on

how to avoid vertical scroll bar in text area

how to avoid scroll bars in text area if the data in the text area is small enough to avoid the scroll bar
Avatar of CJ_S
CJ_S
Flag of Netherlands image

AFAIK you can't...
Avatar of Anoopi
Anoopi

ASKER

i came yo know that it possible to avoid sroll bar.
i tried it & it worked.
ASKER CERTIFIED SOLUTION
Avatar of Pankaj27
Pankaj27

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
IE only. Not crossbrowser.

CJ
How did you create the page? If you used any of the graphical tools, and most especially if you used something that's PRINT based, there is probably a lot of blank <p> tags at the bottom.

Get rid of them. In a code editor, not a graphical one. And don't use print tools for web work. ;-)
If it's just a small area of text, why not use:

<input type="text" size="40" etc etc etc

Neil

PS: If not, you could always use the <STYLE> tag to colour the scrollbars only in the text box so that they appear blank or transparent.  Don't think that this is cross-browser though, and also probably only works in IE 5/5.5+  I can give you the whole code for this if you're unsure :-)
Avatar of Anoopi

ASKER

thanx for the answer

the below code is still more suitable in my case.

<html>
<head>
<title>
No ScrollBar in TextArea
</title></head>
<body>
<form name="frmTrial">
<textarea style="overflow:auto">
</textarea>
</form>
</body>
</html>