15 December, 2012

Remove Scrollbar from Textarea in IE

By default all versions of IE have a scrollbar on textareas, even when they are empty.









No other browsers do this, so if you want to remove it so IE can visually match other browsers, just:

textarea { overflow: auto; }

The scrollbar will return (rightfully) when the text in the textarea expands beyond it's bounds.








soruce:
http://css-tricks.com/snippets/css/remove-scrollbar-from-textarea-in-ie/

No comments:

Post a Comment