Forum Moderators: open

Message Too Old, No Replies

Adding a google search bar?

         

thelostprophet

10:53 am on Feb 2, 2006 (gmt 0)

10+ Year Member



Im trying to make a custom home page for myself with my most used links etc. im no expert coder or anything so i used FPE '03...fairly simple but back in school we never went into detail of html coding...so i found this html on google's website that allows you to have your own google search bar like you often see elsewhere

<!-- SiteSearch Google -->
<FORM method=GET action="http://www.google.com/search">
<TABLE bgcolor="#FFFFFF"><tr><td>
<A HREF="http://www.google.com/">
<IMG SRC="http://www.google.com/logos/Logo_40wht.gif"
border="0" ALT="Google"></A>
</td>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT type=submit name=btnG VALUE="Google Search">
<font size=-1>
<input type=hidden name=domains value="YOUR DOMAIN NAME"><br>
<input type=radio name=sitesearch value=""> WWW
<input type=radio name=sitesearch value="YOUR DOMAIN NAME" checked> YOUR DOMAIN NAME <br>
</font>
</td></tr></TABLE>
</FORM>
<!-- SiteSearch Google -->
but when i click on the body tab then add html and paste that in and click the little green tick it says its invalid html? what am i doing wrong!

[edited by: tedster at 6:45 pm (utc) on Feb. 2, 2006]
[edit reason] fix formatting [/edit]

rd123

3:57 pm on Feb 2, 2006 (gmt 0)

10+ Year Member



Where are you inserting the code? Be sure you are inserting it in the correct place. If you have no knowledge of html at all, get someone who has to do it. :)

VelocitySC

9:25 pm on Feb 2, 2006 (gmt 0)

10+ Year Member



Make sure you don't have any nested FORMS tags. Try pasting into notepad and then copy from there into your editor. Most of the time if you copy from a web page and try to paste directly some of the character encodings cause problems. Pasting into notepad converts everything to ASCII which you will not have problems pasting.

thelostprophet

11:03 pm on Feb 2, 2006 (gmt 0)

10+ Year Member



its working : > just want to center it somehow....i used the correct coding and in the preview it works but when i save and test it properly its over to the left...but thats another story lol