[thelist] XHTML: Form inputs won't validate?

lon.kraemer lwkraemer at directvinternet.com
Sun Aug 25 09:39:01 CDT 2002


> >>  Error:  element "input" not allowed here; possible cause
> >>  is an inline element containing a block-level element
> >
> > This form has no other elements in it other than inputs of
> > various sorts. No tables, nothing else but 'pure form'.
>
> hi frank
>
> wrap the form elements in a container
>
> i use a <p>, others use a <div>
>
> that's the solution -- just don't ask me for an explanation    ;o)
>
>
> rudy

While this will work, IIRC it would be more correct to use the
<fieldset> tag around the inputs.

--
Lon Kraemer
-----------------------------------------




More information about the thelist mailing list