Is it possible to hide the scroll bar on an HTML textarea element using CSS or any other means ?
Asked
Active
Viewed 1.5k times
1 Answers
24
style="overflow:hidden"
Not sure why you'd want to do that, though.
-
Thanks. The reason is that I need to display some text using javascript in an element that has a "value" attribute and can be multi-line. – Ebircsa Dec 01 '08 at 13:53
-
you could also use a pre or blockquote element – scunliffe Dec 01 '08 at 19:34
-
4You *should* use a different element. Form controls are used to accept use input, not display output. Pick an element with the correct semantics. – Quentin Apr 30 '10 at 11:35
-
Is it possible to hide it, but still be able to scroll? – Marek Mar 04 '16 at 09:54