开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜