Google search bar

Hosmer23 Hosmer23 is offline Offline Apr 18th, 2007, 12:03 am |
-1
Put your very own Google search bar on your web page.
Quick reply to this message  
HTML and CSS Syntax
  1. <!-- Search Google -->
  2. <center>
  3. <FORM method=GET action="http://www.google.com/search">
  4. <input type=hidden name=ie value=UTF-8>
  5. <input type=hidden name=oe value=UTF-8>
  6. <TABLE bgcolor="#FFFFFF"><tr><td>
  7. <A HREF="http://www.google.com/">
  8. <IMG SRC="Logo_40wht.gif"
  9. border="0" ALT="Google" align="absmiddle"></A>
  10. <INPUT TYPE=text name=q size=25 maxlength=255 value="">
  11. <INPUT type=submit name=btnG VALUE="Google Search">
  12. </td></tr></TABLE>
  13. </FORM>
  14. </center>
  15. <!-- Search Google -->
0
atoerk atoerk is offline Offline | Nov 1st, 2008
hi, i added this code on my live space - it deos work but all u can see is an "X" with google written next to it.!
can we do it in a way that google logo is seen instead of the red colored "X" sign and also is it possible that when we click on it - the google web page is opened in a seperate tab instead of the same tab..

cheers
 
0
5th6hh6 5th6hh6 is offline Offline | Nov 6th, 2009
that good image needs to be saved in the same folder where that htmp page has been saved, changing the image src
Last edited by 5th6hh6; Nov 6th, 2009 at 9:47 am.
 
 

Message:


Similar Threads
Thread Tools Search this Thread



Tag cloud for HTML and CSS
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC