Is it possible to hide the scroll bar on an HTML textarea element using CSS or any other means ?
+2
A:
style="overflow:hidden"
Not sure why you'd want to do that, though.
naeblis
2008-12-01 13:51:16
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
2008-12-01 13:53:23
you could also use a pre or blockquote element
scunliffe
2008-12-01 19:34:55
You *should* use a different element. Form controls are used to accept use input, not display output. Pick an element with the correct semantics.
David Dorward
2010-04-30 11:35:22