RE: XHTML 1.1 and Forms
by "John Hornbuckle" <john.hornbuckle(at)taylor.k12.fl.us>
|
Date: |
Thu, 3 Jul 2003 11:57:08 -0400 |
To: |
<hwg-techniques(at)hwg.org> |
In-Reply-To: |
7MZCL0J |
|
todo: View
Thread,
Original
|
|
It took me a while, but I finally got around to checking this out. Thank you
for helping with this! You can delete the page now.
John
-----Original Message-----
From: owner-hwg-techniques(at)hwg.org [mailto:owner-hwg-techniques(at)hwg.org] On
Behalf Of Donna Smillie
Sent: Friday, June 20, 2003 12:59 PM
To: hwg-techniques(at)hwg.org
Cc: John Hornbuckle
Subject: Re: XHTML 1.1 and Forms
Hi John, me again :-)
I finally got this to validate. Wrapped the form in a DIV (rather than P as
I suggested before - sorry about that, I got the wrong element - the main
reason for that is to center the form - the page still validates without the
DIV), and then wrapped the content of the form inside a P - INPUT elements
are inline elements, and it appears they need more than just FORM around
them to validate in XHTML.
You can see a copy of your page, with the changes that got it to validate,
at http://www.users.zetnet.co.uk/dms/test/testpage.html. I'll take that off
the server once I know you've seen it.
Regards,
Donna
----- Original Message -----
From: "John Hornbuckle" <john.hornbuckle(at)taylor.k12.fl.us>
To: <hwg-techniques(at)hwg.org>
Sent: Friday, June 20, 2003 2:28 PM
Subject: RE: XHTML 1.1 and Forms
> Okay... I'm taking my form out of the paragraph, but am still running into
a
> validation issue. Now the validator tells me that the "input" element
isn't
> allowed. Ditto for line breaks. Here's the relevant code:
>
> <form action="/customer40/DoClogin.asp" method="post">
> <input type="text" size="20" name="username" maxlength="80" />
> <br />
> <br />
> <input type="image" src="/wclanguage/c_login30x80.gif" name="b_submit"
> />
> </form>
>
> What's necessary to make things right?
>
> John
>
> > http://www.taylor.k12.fl.us/new/employees/technology/support/work.order/
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA