开发者

TextArea without vertical Scrollbar as long as numbers of visible rows are not used

开发者 https://www.devze.com 2023-03-11 20:40 出处:网络
I\'ve a TextArea with 3 rows. Problem: Firefox does not show the vertical scrollbar until the user has used more than 3 rows but Internet Explorer 8 always show the scrollba开发者_StackOverflow社区r

I've a TextArea with 3 rows.

Problem: Firefox does not show the vertical scrollbar until the user has used more than 3 rows but Internet Explorer 8 always show the scrollba开发者_StackOverflow社区r.

I need Firefox's behaviour in Internet Explorer 8.

Any ideas?


<textarea style="overflow:auto" />


Might be firxfox's rendering issue.

You might want to specify the height as well, perhaps give this a try:

yourtextarea.yourclass
{
  overflow: auto;
  height: 30;
}
0

精彩评论

暂无评论...
验证码 换一张
取 消