ChU v2
02-04-2008, 02:21 AM
I'm attempting to integrate the search bar in my header. I'm having some alignment issues. How do I get the search button aligned right with the input bar?
Also, how do get the input field to say a default term. Like default text in the white input box.
Here's my code and I've also attached a screenshot. Thanks in advanced.
<!--Search-->
<form action="search.php?do=process" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<div align="right"><input type="text" class="bginput" name="query" size="33" tabindex="1001" style="margin-right:5px;" value="search" /><input class="searchbutton" value="Search" tabindex="1004" src="http://www.warezwolf.com/images/misc/search.png" type="image" /></div>
</form>
<!--/Search-->
Also, how do get the input field to say a default term. Like default text in the white input box.
Here's my code and I've also attached a screenshot. Thanks in advanced.
<!--Search-->
<form action="search.php?do=process" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<div align="right"><input type="text" class="bginput" name="query" size="33" tabindex="1001" style="margin-right:5px;" value="search" /><input class="searchbutton" value="Search" tabindex="1004" src="http://www.warezwolf.com/images/misc/search.png" type="image" /></div>
</form>
<!--/Search-->