Form problem

teammatt3's picture

He has: 2,102 posts

Joined: Sep 2003

Here is what the code looks like

    <td class="site_navigation" valign="center" align="right"><form name="quick_search" id="quick_search"  action="{main_url}act=search&type=search-process" method="post" onSubmit="return verify_form(this);" >

<div class="padding1">

    <div style="width: 200px; border: 1px solid #63AFEC;">
                  <div align="left"><a  onClick="document.quick_search.search_terms.focus();"><img src="{image_dir}/search_misc.gif" /></a>
                    <input name="q" id="search_terms" type="text" value="keyword(s)"  onFocus="mng_in_val();" onBlur="mng_in_val();" style="border: 1px solid #000; font-size: 11px; font-weight: bold; color: #003169; padding: 1px; width: 80px;" accesskey="S">
                    <input type="submit" name="suby_search" value="Search" class="blue_button" >
                  </div>
                </div>
<div class="padding1"></div>

    <div style="text-align: right;"> </div>

</div>

</form>                 
'

This is what it looks like, the horizontal bar on the right, the search thing. I want it so the search box and the search button are centered vertically, I am having trouble with it and I can't figure out what I am doing wrong!!!???

teammatt3's picture

He has: 2,102 posts

Joined: Sep 2003

No takers? It can't be that hard, can it?

Abhishek Reddy's picture

He has: 3,348 posts

Joined: Jul 2001

I don't see what the problem is. What browsers do you see this in?

teammatt3's picture

He has: 2,102 posts

Joined: Sep 2003

Hmm, it works now, I was messing around with some CSS stuff I think that must have done it. But thanks for looking:)

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.