I have a div as a direct child node of body which is absolutely positioned, with css properties defined as below:
div[id^="Container"] {
display: block;
position: absolute;
width: 600px;
height: 250px;
z-index: 999999;
background: tomato;
top: 217px;
right: 206px;
}
Whenever I zoom in the div it shifts towards left.
I don't understand the exact reason why this is happening. I tried searching online, but did not get any solution.
I tried setting the right position in %, since I thought may be while I zoom in, but the browser rounds up the right position value.