0

I have an input field that might require a lot of text. On a mac I can adjust the field to whatever size I want, see first image, but on a pc(Internet Explorer) I get the scrolly bar of doom, see other image. Is there a way to duplicate that? Or am I stuck setting it to a certain height(Can I do that?)?

Image 1:

The little arrow on the bottom right of the image let's me adjust it.

Image 2:

Scrolling bar of doom on the bottom right, annoying with lots of text

4

1 回答 1

1

IE 不像其他浏览器那样为 textareas 提供可调整大小(就像前一段时间一样)。

您可以在网上找到添加该功能的 javascript,但在我看来,它比有用更麻烦,因为它必须添加一个 div 和移动钩子以在 div 移动时调整字段的大小等。

于 2012-06-20T18:46:54.113 回答