how to make my submit button bigger in hight and width is it possible?
How would i go about making my submit button bigger?
PHP Code:
<tr>
<td></td>
<td><input type='submit' name='submitbtn' size='240' value='Send'></td>
</tr>
Re: how to make my submit button bigger in hight and width is it possible?
You can use the style attribute to size a button.
Code:
<input type="submit" name="btnSubmit" style="width:100px; height:100px;" value="Send" />
Note that you hadn't closed the element.
You can do that by using the </input> tag, or the in-tag closing that I demonstrated.
And a very little style remark, in HTML it is general practice to use double quotes instead of single.
But it works either way and is more a matter of taste. At least be consistent ;)
Also, this isn't really a PHP question, but HTML & CSS.
We have a separate subforum for that: http://www.vbforums.com/forumdisplay.php?f=11
Re: how to make my submit button bigger in hight and width is it possible?
Closing the <input> tag depends on your doctype. In HTML, you do not need to close it. In XHTML, you need to close it, and you need to use the self-closing method (<input />), not an explicit end tag (</input>).