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

s.soeren wrote:
> http://validator.w3.org/check?verbose=1&uri=http%3A//www.blacmox.de/sites/contact.htm
> 
> 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
http://lachy.id.au/

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