I need to display one HTML5 canvas on top of another. This I have already managed in the following manner:
<canvas id="lower" width="900" height="550" style="position: absolute; left: 0; top: 0; z-index: 0;"></canvas>
<canvas id="upper" width="900" height="550" style="position: absolute; left: 0; top: 0; z-index: 1;"></canvas>
However, I can't seem to figure out how to CENTER these two canvases while keeping one on top of the other. Any ideas?