...

View Full Version : Submit button is not alligning



bradwbowman
07-03-2007, 03:57 AM
Hello All,

I am making a Google Widget .xml file and I have my text box, my option drop down box, and an image which is my submit button. Everything works fine except my submit button is alligned 1/2 way up the text box and drop down box and I can't figure out how to bring it down. I've tried using CSS padding -5px and valign="middle" and nothing seems to be working.

The submit image is at the very bottom.

Below is some coding and thanks :)

<style>
.domainsearch {background:url(http://www.clicknowdomains.com/google/images/domainnamesearch.png) left top no-repeat;width:281px;height:109px;margin: 10px 0 0 22px;padding: 5px 0 0 5px;}

.txtcolor{font-weight:bold;font-size:17px;letter-spacing: -1px;text-align: center;word-spacing: -1px;padding:0;margin:0;}

.darkblue{color:#00145B;}

</style>
<div class="sidebar domainsearch" id="wh_box3_2">

<h1 class="txtcolor darkblue">Domain Name Search</h1>

<br style="line-height:3px;"/>
<form name="RegisterDomainForm" id="RegisterDomainForm" method="POST" onSubmit="return checkDomain(this);" action="https://www.securepaynet.net/gdshop/registrar/search.asp?prog_id=clicknowdomains" target="_blank">


<input type="hidden" name="Validate" value="0">
<input type="hidden" name="currStep" value="0">
<input type="hidden" name="searchSB" value="0">
<input type="hidden" name="searchSBname" value="">
<input type="hidden" name="tldReg" value="">
<input type="hidden" name="searchSBselected" value="">
<input type="hidden" name="queryOingo" value="">
<input type="hidden" name="showAltTLDs" value="">
<input type="hidden" name="fblur" value="0">
<input type="hidden" name="checkAvail" value="1">

<input type="text" name="domainToCheck" alt="Enter Domain Name" maxlength="63" size="20" />


<input type="hidden" name="migrate" value="register" />



<select name="tld">
<OPTION VALUE=".com" selected>.com</OPTION>
<OPTION VALUE=".net">.net</OPTION>
<OPTION VALUE=".org">.org</OPTION>
<OPTION VALUE=".biz">.biz</OPTION>
<OPTION VALUE=".info">.info</OPTION>
<OPTION VALUE=".us">.us</OPTION>
<OPTION VALUE=".mobi">.mobi</OPTION>
</select>

<input type="image" src="http://www.clicknowdomains.com/google/images/okb.png" style="top" alt="Search for Cheap Domain Names">

Pepe, the bull
07-03-2007, 11:18 PM
<style>
.domainsearch {background:url(http://www.clicknowdomains.com/googl...namesearch.png) left top no-repeat;width:281px;height:109px;margin: 10px 0 0 22px;padding: 5px 0 0 5px;}

.txtcolor{font-weight:bold;font-size:17px;letter-spacing: -1px;text-align: center;word-spacing: -1px;padding:0;margin:0;}

.darkblue{color:#00145B;}

</style>
<div class="sidebar domainsearch" id="wh_box3_2">

<h1 class="txtcolor darkblue">Domain Name Search</h1>

<br style="line-height:3px;"/>
<form name="RegisterDomainForm" id="RegisterDomainForm" method="POST" onSubmit="return checkDomain(this);" action="https://www.securepaynet.net/gdshop/registrar/search.asp?prog_id=clicknowdomains" target="_blank">


<input type="hidden" name="Validate" value="0">
<input type="hidden" name="currStep" value="0">
<input type="hidden" name="searchSB" value="0">
<input type="hidden" name="searchSBname" value="">
<input type="hidden" name="tldReg" value="">
<input type="hidden" name="searchSBselected" value="">
<input type="hidden" name="queryOingo" value="">
<input type="hidden" name="showAltTLDs" value="">
<input type="hidden" name="fblur" value="0">
<input type="hidden" name="checkAvail" value="1">

<input type="text" name="domainToCheck" alt="Enter Domain Name" maxlength="63" size="20" />


<input type="hidden" name="migrate" value="register" />



<select name="tld">
<OPTION VALUE=".com" selected>.com</OPTION>
<OPTION VALUE=".net">.net</OPTION>
<OPTION VALUE=".org">.org</OPTION>
<OPTION VALUE=".biz">.biz</OPTION>
<OPTION VALUE=".info">.info</OPTION>
<OPTION VALUE=".us">.us</OPTION>
<OPTION VALUE=".mobi">.mobi</OPTION>
</select>

<input type="image" src="http://www.clicknowdomains.com/google/images/okb.png" style="vertical-align:bottom;" alt="Search for Cheap Domain Names">

Check out the last line of code. I'm not sure why "top" was in their but this lines everything up.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum