|
-
Dec 29th, 2010, 06:42 AM
#1
Thread Starter
Frenzied Member
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>
come back and mark your original post as resoved if your problem is fixed
Jamie Garland
-
Dec 29th, 2010, 08:57 AM
#2
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
Delete it. They just clutter threads anyway.
-
Dec 29th, 2010, 07:02 PM
#3
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>).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|