Log in

View Full Version : How to adjust google search in navbar


stinger2
05-04-2006, 10:15 PM
need some help here.......i managed to insert the google seach in navbar.......but the space is getting too wide........how can i keep the space same as the original (i.e between the two navbar)....

thanks in advance

http://www.hostmypiconline.com/images/navbar.jpg

http://www.hostmypiconline.com/images/navbar2.jpg

truCido
05-04-2006, 10:16 PM
you could make the input field smaller and maybe change the text on the submit button from "Google Search" to "Search"

stinger2
05-05-2006, 12:34 AM
thank you for your reply
it helps a bit but not too much....i can not make it as the original....any other idea?

truCido
05-05-2006, 07:59 AM
<form method="get" action="http://www.google.com/custom" target="

google_window">
<table border="0" bgcolor="#ffffff">
<tr><td nowrap="nowrap" valign="top" align="left" height="32">

</td>
<td nowrap="nowrap">
<input type="hidden" name="domains" value="yoursite.co.uk"></input>
<input type="text" name="q" size="20" maxlength="255" value=""></input>
<input type="submit" name="sa" value="Search"></input>
<input type="radio" name="sitesearch" value="" checked="checked"></input>
<font size="-1" color="#000000">Web</font>
</td>
<td>
<input type="radio" name="sitesearch" value="yoursite.co.uk"></input>
<font size="-1" color="#000000">yoursite.co.uk</font>
</td>
</td></tr>
<tr>
<td>&nbsp;</td>
<td nowrap="nowrap">

<input type="hidden" name="client" value="yourcodehere"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="ie" value="ISO-8859-1"></input>
<input type="hidden" name="oe" value="ISO-8859-1"></input>
<input type="hidden" name="cof" value="GALT:#9A2C06;GL:1;DIV:#33FFFF;VLC:D

03500;AH:center;BGC:99CCFF;LBGC:CCE5F9;ALC:440066; LC:440066;T:336699;GFNT:

223472;GIMP:223472;FORID:1;"></input>
<input type="hidden" name="hl" value="en"></input>

</td></tr></table>
</form>

How about this? If thats not what your after then I'd look at removing bits in the code to make the search button below closer to the input box

stinger2
05-05-2006, 10:16 AM
No...it would not do......thanks again.....actually i made it so it remains in its own table...which i want to make it smaller
..here is my code......there is another solution it think.........
how can we remove the small space above the search balk and also the small space below the web.site.search button?


<!-- SiteSearch Google -->
<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<form method="get" action="http://www.google.com/custom" target="_top">
<table border="0" bgcolor="#DFE6EE">
<tr><td nowrap="nowrap" valign="top" align="left" height="16">

</td>
<td nowrap="nowrap">
<input type="hidden" name="domains" value="www.yoursite.org"></input>
<input type="text" name="q" size="40" maxlength="155" value=""></input>
</td></tr>
<tr>
<td>&nbsp;</td>
<td nowrap="nowrap">
<table>
<tr>
<td>
<input type="radio" name="sitesearch" value="" checked="checked"></input>
<font size="-2" color="#000000">Web</font>
</td>
<td>
<input type="radio" name="sitesearch" value="yoursite.org"></input>
<font size="-2" color="#000000">yoursite.org</font>
</td>
<td>
<input type="submit" name="sa" value="Google Search"></input>
</td>
</tr>
</table>
<input type="hidden" name="client" value="******************"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="ie" value="ISO-8859-1"></input>
<input type="hidden" name="oe" value="ISO-8859-1"></input>
<input type="hidden" name="safe" value="active"></input>
<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center ;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000 000;GFNT:0000FF;GIMP:0000FF;FORID:1;"></input>
<input type="hidden" name="hl" value="en"></input>
</tr>
</center>
</td>
</TABLE>
</form>
<!-- SiteSearch Google -->

stinger2
05-11-2006, 09:55 PM
solved