2009/7/15 Mathew Robertson <[email protected]>: > > Another related question to ask... Why is putting a hidden input field, as > the first child of a form element, disallowed? >
The HTML 4.01 DTD specifies that only block-level elements or script elements may appear as the immediate children of the FORM element; input elements are inline: <http://www.w3.org/TR/html401/interact/forms.html#h-17.3> As to _why_ this is the case, I'm really not sure :-) Cheers, Nick. -- Nick Fitzsimons http://www.nickfitz.co.uk/ ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [email protected] *******************************************************************
