Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: Goggle searchbox stops page validating

  • Subject: Re: Goggle searchbox stops page validating
  • From: Roy Schestowitz <newsgroups@xxxxxxxxxxxxxxx>
  • Date: Tue, 14 Mar 2006 09:30:57 +0000
  • Newsgroups: alt.www.webmaster
  • Organization: schestowitz.com / MCC / Manchester University
  • References: <dv5t9u$e0d$1@nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com> <16xpwfsh0cs0l.1mzh5t754k0z9.dlg@40tude.net> <dv5vm2$790$1@nwrdmz03.dmz.ncs.ea.ibs-infra.bt.com> <1wgxh314xhjyd$.uncz2fvkkhpn.dlg@40tude.net> <dv61b4$j6$1@godfrey.mcc.ac.uk> <14mnh3uqw4gel$.1uwfea8fe54lm.dlg@40tude.net>
  • Reply-to: newsgroups@xxxxxxxxxxxxxxx
  • User-agent: KNode/0.7.2
__/ [ Els ] on Tuesday 14 March 2006 09:18 \__

> Roy Schestowitz wrote:
> 
>> __/ [ Els ] on Tuesday 14 March 2006 09:05 \__
>> 
>>> T.J. wrote:
>>>> "Els" <els.aNOSPAM@xxxxxxxxxx> wrote in message
>>>> news:16xpwfsh0cs0l.1mzh5t754k0z9.dlg@xxxxxxxxxxxxx
>>>>> T.J. wrote:
>>>>>
>>>>>> I added a Google search box to my page
>>>>>> and now when checking with the validators
>>>>>> it produces errors and says
>>>>>> "end tag for element "INPUT" which is not open"
>>>>>
>>>>> Do you have a URL?
>>>>
>>>> http://www.uksmallbusinessdirectory.co.uk
>>>> it's the search box top middle of page.
>>>> It is an AdSense search box which is also a
>>>> site search.
>>> 
>>> The doctype on your page is HTML transitional, but Google's searchbox
>>> code validates as XHTML transitional (hence the closing tags on input
>>> elements).
>>> You have 3 choices: change your doctype to XHTML transitional and then
>>> try to solve the 217 resulting erros in your own code ;-) or stick to
>>> HTML transitional and either delete the </input> and </p> tags from
>>> Google's code, or put up with the 13 errors.
>> 
>> Off my source (valid XHTML/CSS):
> [snip]
>  
>>         <input type="hidden" name="ie" value="ISO-8859-1"></input>
> [snip]
> 
> That's still XHTML, and not HTML. OP needs to delete the </input> and
> </p> from the code, and it will validate with his current code, which
> is HTML transitional.

Oops. I got it all reversed. I need to actually read rather than let my eyes
wander.

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index