in reply to Layers within tables

Nest the layer inside a DIV like so:
<layer name="alayer" pageX="100" pageY="110"> some code </layer>
Tables suck. Use CSS-P instead.