Reply to Re: how to fix this validation error

Your name:

Reply:


Posted by Els on 02/01/06 01:36

Greg N. wrote:

> Els wrote:
>
>>>I added a google site search to the site in my sig.
>
>> Pretty difficult to tell what's wrong without seeing the code
>
> The site in my sig:
> http://hothaus.de/greg-tour/

Looking at validator result, it says you have <input type=hidden
(etc)> directly under form. It needs to be inside a div.
So, instead of:

<FORM method=GET action="http://www.google.com/search">
<input type=hidden name=sitesearch value="hothaus.de">
<div style="float:left;">
Diese Web Site durchsuchen:
<INPUT TYPE=text name=q size=45 maxlength=255 value="">
</div>

<div style="float:right;">
<INPUT type=submit name=btnG VALUE="Google-Suche">
</div>
</FORM>

Make it:

<FORM method=GET action="http://www.google.com/search">
<div style="float:left;">
<input type=hidden name=sitesearch value="hothaus.de">
Diese Web Site durchsuchen:
<INPUT TYPE=text name=q size=45 maxlength=255 value="">
</div>

<div style="float:right;">
<INPUT type=submit name=btnG VALUE="Google-Suche">
</div>
</FORM>


--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация