For the form below, how could I make the input field big, like maybe 100 pixels in height by 400 pixels in length?
Thanks in advance,
John
<form action="http://www...com/sandbox/comments/comments2.php" method="post">
<input type="hidden" value="'.$_SESSION['loginid'].'" name="uid">
<div class="addacomment"><label for="title">Add a comment:</label></div>
<div class="submissionfield"><input name="title" type="title" id="title" maxlength="1000"></div>
<div class="submissionbutton"><input name="submit" type="submit" value="Submit"></div>
</form>
Any reason not to use a TEXTAREA form element instead?
<textarea rows="5" cols="80" id="TITLE">
</textarea>
you can avoid using the div by applying the class in the <input>
itself
your CSS can be
.submissionfield { width: 90px; height: 390px; border: 1px solid #999999; padding: 5px; }
You can add css to the input, like:
.input-element{
font-size: 100px; // for say a select
width: 400px;
}
or you can add height but you might have to add !important to it...
.input-element{
height: 100px !important;
width: 400px;
}
Don't you need a textarea (example) field?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With