When I try to get HTML element's height by using .height()
method while browser is zoomed, the returned value is not valid.
Example:
My element is 35px height with 100% browser zoom, .height()
method returns 35px (and it's ok).
But when browser zoom is set to 125%, element is now 36.25px height, and .height()
method returns 36px, and not exact 36.25px.
Any ideas how to get proper value? Is this a bug, or..?