You just have to position the layer using absolute positioning, while using relative for it's children OR even use absolute for them too.
example: for layer(foo) absolute, children relative.
.foo{
position: absolute;
left: 50%;
top:50%;
)
/*Now for the kids*/
.foo table, .foo div, .foo...