webHTMLDiv and webPanel

i use : Application.CreateForm(TfrmDetProd, pnlDetProd.ElementID, frmDetProd, Nil);
to create a form where pnlDetProd now is a div but i have some problems of rendering.

There is something i must to do to use a div like a form container ? or better use panel instead ?

See demo Demo\Basics\FormHosting
This works equally well when you replace the panel by a TWebHTMLDiv.