Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Nov 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Submit button is not alligning

    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/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="top" alt="Search for Cheap Domain Names">

  • #2
    Regular Coder Pepe, the bull's Avatar
    Join Date
    Feb 2005
    Location
    Vancouver, WA
    Posts
    163
    Thanks
    1
    Thanked 16 Times in 16 Posts
    Code:
    <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.
    Pepe, the bull


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •