skcin7
11-29-2009, 02:16 PM
I am designing a form on my website and I can't seem to figure out why the Search button is aligned above everything else. I want the search button to be aligned evenly with the text box and the drop-down box but for some reason it is aligned above everything else. Here is a picture of what I am talking about:
http://www.nicholas-morgan.com/images/misc/formproblem.png
Here is the code for it: (it's just a simple form)
<form method="get" action="search.php">
<input type="text" name="term" style="font-size: 10px;">
<select name="site" style="font-size:10px;">
<option value="">VGDB</option>
<option value="ebay">eBay</option>
<option value="amazon">Amazon</option>
</select>
<button style="font-size:10px;">Search</button>
</form>
I tried to fix the problem myself but each time I made a change it made the buttom look bad in Firefox. Does anybody know good solutions to this problem? Thanks in advance for any help!
http://www.nicholas-morgan.com/images/misc/formproblem.png
Here is the code for it: (it's just a simple form)
<form method="get" action="search.php">
<input type="text" name="term" style="font-size: 10px;">
<select name="site" style="font-size:10px;">
<option value="">VGDB</option>
<option value="ebay">eBay</option>
<option value="amazon">Amazon</option>
</select>
<button style="font-size:10px;">Search</button>
</form>
I tried to fix the problem myself but each time I made a change it made the buttom look bad in Firefox. Does anybody know good solutions to this problem? Thanks in advance for any help!