Forum Moderators: open

Message Too Old, No Replies

how do I get rid of the vertical scrollbar in TEXTAREA?

         

ocelot

4:24 am on Nov 9, 2004 (gmt 0)

10+ Year Member



from the google results I'm getting, it doesn't look like there is a way...this has me worried

BlobFisk

8:54 am on Nov 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hmmm - I've never tried it but I wonder if a little CSS may work:

CSS:
textarea.noScroll { overflow: none; }

And the in your HTML:
<textarea class="noScroll"></textarea>

Completely untested though!

HTH

ocelot

12:44 am on Nov 10, 2004 (gmt 0)

10+ Year Member



nope sorry, fails in both IE and FF

: (

henry0

12:20 pm on Nov 10, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Does it make sense?
Text area allows displaying room for a given number of rows
And allows for scrolling down

So what will happen if your user needs more rows that the original window did allow for?

mrnoisy

10:00 pm on Nov 12, 2004 (gmt 0)

10+ Year Member



This is what I use:

textarea {
scrollbar-face-color:#fff;
scrollbar-arrow-color:#fff;
scrollbar-highlight-color:#fff;
scrollbar-shadow-color:#fff;
scrollbar-3dlight-color:#fff;
scrollbar-darkshadow-color:#fff;
scrollbar-track-color:#fff;
}

It's not valid css and it works for IE only.