Calculator Form

Design your own calculator form.

<form name=calculator action='calculator.php' method='post'>
<table border=1 cellspacing=0 cellpadding=3>
<tr><td colspan=1 align=center>
<h2>Calculator</h2>
<tr><td>
<input type=text name=num1 />
<td>
<select name=func>
		<option value=add>+</option>
		<option value=sub>-</option>
		<option value=sub>*</option>
		<option value=div>/</option>
</select>
<td>
<input type=text name=num2>
<td>
<input type=submit name=submit value='Go!'>
</table>
</form>

Usage

Very simple, you can alter the border shape by playing around with the numbers, also play around with the size and such with the padding number.


Comments

Add your comment