Can someone help me adjust the width and height of the <textarea>
tag in HTML so that it only has two lines (rows)? Right now, it's only displaying one line. Any suggestions on how to solve this issue?
Even when I try changing the width to 1000px
, nothing seems to happen. I'm not sure why that is.
<div>
<textarea rows="2" cols="200" disabled="disabled" style="width:500px; height: 10px;">
Date
User
</textarea>
</div>
The project I am working on is an MVC5 application using Bootstrap.