我把盒子的尺寸变大了。它在 Dream Weaver 设计 View 中看起来更大,但在浏览器中似乎不起作用。
<input type="text" **height="60%"** name=" item" align="left" />
最佳答案
如果要增加输入字段的高度,可以为输入字段指定line-height
css 属性。
input {
line-height: 2em; // 2em is (2 * default line height)
}
关于html - 文本框输入高度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13164048/