[英]How do I make the textbox bigger without changing the font size in html?
My code is我的代码是
<table border>
<td><input type="text" id='w4' style="height:200px;font-size:14pt;"></td>
</table>
The problem is the cursor doesn't go to the top, it stays at middle because the border just appear bigger but the textbox size is the same.问题是光标没有到顶部,它停留在中间,因为边框看起来更大但文本框大小相同。 I need a way to get the cursor to start typing at the top of the box.
我需要一种方法让光标开始在框的顶部打字。
I'm still pretty new to html I also want to know how to press enter and it will automatically drop the text cursor down or drop to a whole new different text box at the bottom of the table.我对 html 还是很陌生,我还想知道如何按 Enter 键,它会自动将文本光标下拉或下拉到表格底部的全新不同文本框。
one option would be to use a text area instead一种选择是改用文本区域
<table border> <td><textarea type="text" id='w4' style="height:200px;font-size:14pt;"></textarea></td> </table>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.