I've got a page with a small logon form, nothing major. It has a couple of
small hurdles for validating as XHTML 1.0 strict though.
The first is that XHTML doesn't support the name attribute, so of course my
php that processes this login feature won't work with id instead of name. Is
there
El mié, 25-08-2004 a las 10:39, Steven Clark escribió:
I've got a page with a small logon form, nothing major. It has a couple of
small hurdles for validating as XHTML 1.0 strict though.
The first is that XHTML doesn't support the name attribute, so of course my
php that processes this
There is nothing wrong with your PHP, the Validator (just like the
browser) never sees it.
The exact error is:
Line 76, column 146: document type does not allow element input
here; missing one of p, h1, h2, h3, h4, h5, h6, div,
pre, address, fieldset, ins, del start-tag
On Wed, 25 Aug 2004 20:06:58 +1000, Natalie Buxton wrote:
One possible cause for this message is that you have attempted to put
a block-level element (such as p or table) inside an inline
element (such as a, span, or font).
Your input tag has to be wrapped by a block element inside the form
Hi Steven,
Firstly XHTML DOES support the name attribute for input elements, there
is no other way to parse form data. It appears the problem lies
elsewhere, not in the PHP code either.
I do recommend removing the PHPSESSID it can cause problems, there is
plenty of info to remove the url
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Natalie Buxton
Sent: Wednesday, August 25, 2004 6:07 AM
To: [EMAIL PROTECTED]
Subject: Re: [WSG] PHP is stopping my page validating as xhtml 1.0 Strict
The exact error is:
Line 76, column 146: document
PROTECTED]
Subject: [WSG] PHP is stopping my page validating as xhtml 1.0 Strict
I've got a page with a small logon form, nothing major. It
has a couple of
small hurdles for validating as XHTML 1.0 strict though.
The first is that XHTML doesn't support the name attribute,
so of course my