My current challenge involves the need to position one HTML5 canvas on top of another. So far, I have successfully accomplished this using the following method:
<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 am currently struggling to find a way to CENTER these two canvases while still ensuring that one remains on top of the other. Any suggestions would be greatly appreciated!