Posted By

JimSangwine on 05/05/11


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

spee66


Remove Scrollbar from Textarea in IE


 / Published in: CSS
 

  1. /* By default all versions of IE have a scrollbar on textareas, even when they are empty.
  2.  
  3. No other browsers do this, so if you want to remove it so IE can visually match other browsers, just: */
  4.  
  5. textarea { overflow: auto; }
  6.  
  7. /* The scrollbar will return (rightfully) when the text in the textarea expands beyond it's bounds. */

Report this snippet  

You need to login to post a comment.