View Full Version : Canvas gets drawn under the sencha body background

18 Jun 2011, 4:12 PM
I'm drawing in a canvas, and when I debug I can see that I get the things done, but then the sencha body background gets drawn on top of it.

My html is:

<canvas id="canvas"></canvas>

So I draw inside the canvas, but the html code that is generated has the following which is drawn on top of my canvas.

<body id="ext-gen1003" class=" x-desktop" style="width: 879px; height: 386px; ">

If I comment the sencha.css I don't have the problem anymore, but more things disappear with that, so obvoiusly that is not a solution
What can I do to get the canvas on top of the backgroud?