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

textarea - disable schrollbar?

Status
Not open for further replies.

maesb

Technical User
Mar 25, 2003
30
JP
Hi,

can i actually not have a schrollbar in a textarea?
thanks.

maegan.
 
Code:
<textarea style="overflow: hidden;">Textarea content</textarea>
Any excessive text in the textarea will be cut off and not shown.
 
thanks a lot!

now i've got another question. the box you use to place your html script above, i notice that it's using a <div> tag. that can be used to display text instead of a textarea? and the 3d effect of the div is done using css?

and by the way, how did you get the box to write your codes in? i don't seem to be able to see any button on screen to do that.
 
Use syntax [ignore]
Code:
...
[/ignore] and put your code in between. That will produce the box. Div box can display text like textarea can, however, textarea being a form element, will submit information inside the textarea on form submit, while div will not. Also, you cannot edit information inside a div, while you can in textarea. It depends why you need your textarea.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top