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
AFAIK you can't...
ASKER
i came yo know that it possible to avoid sroll bar.
i tried it & it worked.
i tried it & it worked.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
IE only. Not crossbrowser.
CJ
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. ;-)
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 :-)
<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 :-)
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>
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>