When you set the HTML into a layer before adding it to the document, the content
is stored as an internal variable. When you add the dynlayer to the document,
the phisical layer is created, size 0 0, and then the HTML writen into it. At
that time, the browser is writing to a 0,0 sized layer, therefore centering the
content makes it appear to the left of the layer. Resizing a layer does not
force the content to be redrawn or rerendered. You should either specify the
size of the layer before adding it to the doc or settting the HTML after you
have resized it.

Cya


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to