Simple google search on my page.

Associate
Joined
6 Jan 2006
Posts
1,024
Location
Midlands
Need a simple google search box on my page.
The user type what they want to search and it will take them to google for the results.

Do i just need to setup a form?
 
If site search use this:

Code:
<form method="get" action="http://www.google.com/search">

<div style="border:1px solid black;padding:4px;width:20em;">
<table border="0" cellpadding="0">
<tr><td>
<input type="text"   name="q" size="25"
 maxlength="255" value="" />
<input type="submit" value="Google Search" /></td></tr>
<tr><td align="center" style="font-size:75%">
<input type="checkbox"  name="sitesearch"
 value="[COLOR=Red]yoursite.com[/COLOR]" checked /> [COLOR=Red]Name of your site[/COLOR]<br />
</td></tr></table>
</div>

</form>
 
Back
Top Bottom