[themes] search bar

Kobus Myburgh itbjdm at puknet.puk.ac.za
Tue Jan 3 07:14:04 UTC 2006


Hi,

I fixed this by increasing the top margin for the textfield.

Regards,

Kobus


>>> larry at garfieldtech.com 12/30/2005 8:18:56 PM >>>
Try: 

#search .form-item {
display: inline;
}

On Friday 30 December 2005 10:42 am, David K Norman wrote:
> Using the theme option to turn on the search bar in 4.7, I'm having
> trouble figuring out how to get the search button to stay on the same
> line as the search input field.
>
> The div between the input and button is causing a line break I don't
> want. Using css to white-space: nowrap; on #search is futile. Any help?
>
> <form action="search"  method="post">
> <div><div id="search" class="container-inline"><div class="form-item">
>  <input type="text" maxlength="128" class="form-text" name="edit[keys]"
> id="edit-keys"  size="15" value="" alt="Enter the terms you wish to
> search for." />
> </div>
> <input type="submit" class="form-submit" name="op" value="Search"   />
> <input type="hidden" name="edit[form_id]" value="search_box"   />
> </div>
> </div></form>

-- 
Larry Garfield			AIM: LOLG42
larry at garfieldtech.com		ICQ: 6817012

"If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it."  -- Thomas 
Jefferson
_______________________________________________
themes mailing list
themes at drupal.org 
http://lists.drupal.org/mailman/listinfo/themes



More information about the themes mailing list