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

textarea and scroll bar 1

Status
Not open for further replies.

tyris

Programmer
Nov 2, 2000
311
FR
hi all,

i have a scroll bar like this :

<TEXTAREA cols=26 name=address rows=3></TEXTAREA>

i know that i can use the style=&quot;overflow:hidden&quot; property to hide the scroll bar

but what 'id like to do is this :
when the user enter a number of line superio then the difined lines (here 3 rows), the scroll bar appears.
Any idea that could help me ?
Best regards X-),
Elise
 
i've found the answer i put it down here, that could help other persons :

<TEXTAREA STYLE=&quot;overflow-y:auto&quot; cols=26 name=address
rows=3></TEXTAREA>

it was quite simple but the simpliest is often the harder to find ;o) Best regards X-),
Elise
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top