__/ [ 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.
|
|