I'm trying to make a proof-of-concept for an vista/windows 7 style aero effect on a webpage using DHTML.
So far, it's looking like it will work in the end. However, i find canvas to behave strangely... In short this is how i'm trying to get it to work (for now):
I have a body with a background-image, and in it a div-element with some text in it. It is impossible to assign a canvas as a background, so i wrap the div in another div and then create a canvas that i position behind the other div absolutely.
So far so good, but now i want to draw the same image in my canvas as the body has for a background, and it for some reason resizes my image.