views:

1286

answers:

2

There is a nasty right-side inactive scrollbar in the textarea in IE, in FF the textarea is clean. How to make it clean in IE as well?

+3  A: 

Use the overflow: auto style to only apply scrollbars when needed

textarea { overflow: auto; }
roryf
+12  A: 

Quick experimentation suggests that IE6 and IE8 (unable to test 7 at the moment) both honor the auto value for overflow. Thus, to make the scroll bars appear when necessary, but hidden when not, add the following style rule:

textarea { overflow: auto; }
Jason Musgrove
Didn't think of that one, thanks +1
roryf