Imagine I have this image:
Is there a way for me to determine the x/y or left/top properties of my canvas if it is centered using the following CSS:
#canvas-container {
width: 100px;
height:100px;
margin: 0px auto;
}
Note:
$('#myCanvas')[0].style.top returns ""