Re: error message: document type does not allow element "FORM" here

s.soeren wrote:
> the reason for failing the validation is the form inside the 
> inline-element <span> but i see no possibility to realize a 
> reasonable style-concept without applying a box-based layout that 
> reverts to an element that has no properties itself.

I don't even understand what you're trying to say there, but the 
quickest fix is to solve this particular validation issue is to use 
<div> instead of <span>.  As you mentioned, span is an inline element 
and can only contain other inline level elements.  Div is block level 
and can contain, among others, the form element.

Lachlan Hunt

Received on Friday, 20 January 2006 12:19:08 UTC