My laptop display resolution is 1280 x 800. When I query $(window).width() I get 1420 on Firefox while I get 1280 on Chrome. Why is Firefox showing me a window width greater than my screen resolution?
My laptop display resolution is 1280 x 800. When I query $(window).width() I get 1420 on Firefox while I get 1280 on Chrome. Why is Firefox showing me a window width greater than my screen resolution?
screen.height
and screen.width
for total dimensions, & screen.availHeight
and screen.availWidth
for available dimensions. don't forget to check if the screen is zoomed.
– Erick Ribeiro
Commented
Jan 26, 2013 at 3:10
Because your Firefox window is probably zoomed out.
Reset the zoom using one of the following: