Click to See Complete Forum and Search --> : Code To Stop A Textarea From Having Scrollbars?


Amphidamas
04-22-2009, 03:41 PM
Hi everybody, :)

Basically just what the title says... I can't seem to find any code which turns off the scroll bars on a textarea. When writing one big, big word I just want it text to bounce off the right-hand side wall and onto the line below, not out of the box.

Any help on this matter would be greatly appreciated!

Thanks and regards,

Amph. :D

EDIT: Found the code to hide scrollbars, but it doesn't resolve the problem of the text disappearing outside the textarea.

donatello
04-22-2009, 05:44 PM
I have found that I have had to use a stylesheet for a textarea to get it to do what I want.

The standard way does not always work the way I want.

<textarea name="select1" rows="13" columns="20" class="sizedthewayIwantintheCSS" >

I've also had some luck setting the textarea size to a percentage (usually just under 100%) inside of a DIV or Table.


But the next time I make a textarea, I'm going for broke with this baby:

http://www.dynamicdrive.com/dynamicindex16/openwysiwyg/index.htm

:)