I've created labels dynamically with a certain position. The problem is that when I minimize the browser its position changes. How can I fix this?
//creation labels
var labeltemp = document.createElement("Label");
labeltemp.style.left = x2-10;
labeltemp.style.top = y2+5;
labeltemp.style.position='absolute';
var number = document.createTextNode(number);
labeltemp.appendChild(number);
document.body.appendChild(labeltemp);
Example: link