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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scrolling Text Box

Status
Not open for further replies.

kldavis89

Technical User
Aug 4, 2007
1
0
0
US
I am trying to put text into an editable region, and I want it to scroll when the box overflows. I have tried textarea, but I found that this lets EVERYONE even people just visiting the page to edit the text too.

Can someone help me with what I should do?

Thanks.
 
Use a DIV.

Code:
<div id="scrollingbox" style="width:200px; height:300px; overflow:scroll;">
[red]Put the text that will need to scroll here[/red]
</div>



----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top