Cannot put google search into frontpage help?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i have been trying to put a google search bar into my frontpage document but
every thing i try seems to fail, i have managed to put the adverts in but
every time i put the html code into the my webpage , i get an error message
saying,

You have entered an invalid html please make sure angle brackets and
quatation marks are properly matched and that the html is legal at this point
of the document.

the html is correct and has not been edited or changed in any way or form
any help. thanks
 
Hi rick,

You may be pasting in valid HTML, but if you paste it into existing HTML in
the wrong place, you could break it. For example, let's say you wanted to
paste the following HTML:

into the following HTML:

<p><font size="8">Hello world</font></p>

and you pasted it in as such:

<p><font size=<input type="text" name="mytext" size="20">"8">Hello
world</font></p>

you would have illegal HTML.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Sometimes you eat the elephant.
Sometimes the elephant eats you.
 
Paste into notepad first then in to FP in HTML / Code view.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
In addition to what Kevin said, copying HTML from almost anywhere and pasting it
into FP will scramble it. One way around that is to paste it into Notepad first,
then copy and paste from there. Hard to know waht the problem is without seeing
the HTML. If these suggestions don't fix you up, how about posting the offending HTML.
MikeR
 
Thankyou for all the help people the html is correct and ai have tried many
different approches thought initially their was an existing html in the box
but tried it in different areas and same response.
I have been able to upload the html for the adverts from google no problem,
i have done as both of you said and placed the add in the code area, it is
difficult to find the correct area to upload it to and it doesnt look like it
is ment to the html code unedited is.
<!-- SiteSearch Google -->
<form method="get" action="http://www.google.co.uk/custom" target="_top">
<table border="0" bgcolor="#ffffff">
<tr><td nowrap="nowrap" valign="top" align="left" height="32">
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_25wht.gif"
border="0" alt="Google"></img></a>
<br/>
<input type="hidden" name="domains" value="willstoybox"></input>
<input type="text" name="q" size="31" maxlength="255" value=""></input>
</td></tr>
<tr>
<td nowrap="nowrap">
<table>
<tr>
<td>
<input type="radio" name="sitesearch" value="" checked="checked"></input>
<font size="-1" color="#000000">Web</font>
</td>
<td>
<input type="radio" name="sitesearch" value="willstoybox"></input>
<font size="-1" color="#000000">willstoybox</font>
</td>
</tr>
</table>
<input type="submit" name="sa" value="Search"></input>
<input type="hidden" name="client" value="pub-5164989915877247"></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:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;"></input>
<input type="hidden" name="hl" value="en"></input>

</td></tr></table>
</form>
<!-- SiteSearch Google -->

this is straight from google. thanks
 
its ok thanks for all your help people i have worked it out and managed to
put the google search into my webpages. you dopnt know how long i have been
trying to do that thanks
 
Back
Top