Hidden field and wrapping div

Howdy. I was just curious why the hidden field for form tags using :method => :put or :method => :delete get wrapped with a div with inline styling? It was easy enough for me to get around by just omitting the :method option in the form tag and adding a hidden_field_tag myself but I'm still achingly curious why a hidden field would need a wrapper at all? especially one with hardwired CSS declaring it to be basically invisible.

RSL

Just W3C compliance. Form input elements must be nested inside a P, DIV, etc...

Yup, HTML 4 Strict does indeed require FORM elements to only contain block-level or SCRIPT elements. Thanks for the quick reply.

RSL