Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing Textbox Scroll Bars

Status
Not open for further replies.

mrbumps

Programmer
Dec 2, 2003
3
DE
Hi,

I am dynamicaly populating a text box, not intended to be changed by the user, but I do not want any scroll bars showing. I can remove the Horizontal one easily with the wrap command. How can I remove the vertical? Can I?

Many thanks

Steve
 
AFAIK you cannot remove the vertical scrollbar.

If you do not intend to let the user change the text in the textbox then why are you putting it in a textbox? If you just want the appearance of the textbox you could probable mock one up using CSS or something

MrBelfry
 
I need to be able to dynamicaly change the text within the page without reloading. I could use a layer but the position on the page can move around depending on other factors.
 
Just put style="overflow: hidden;" in your text box. This will eliminate all the scrollbars but also make it impossible for the users to see the text if it is too big for the text box.
 
That the one. Thanks. The text I am putting into the box will never exceed the size of the text box so this solution is fine for this application.

Many Thanks

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top