javascript - website resolution isn't accurate on localhost -



javascript - website resolution isn't accurate on localhost -

i have programme runs on localhost , uses chrome in total screen. when type console

window.innerwidth

i result of 1236. when @ other webpage (not localhost) 1360 (as expected).

i have absolutely no thought why it. messing design since programme made work 1360x768 , 1920x1080.

any ideas why happening?

floor(1,360 / 1.1) = 1,236

you zoomed in 10% in browser localhost domain. press ctrl+0.

javascript html css google-chrome width

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

c# - Create a Notification Object (Email or Page) At Run Time -- Dependency Injection or Factory -

Set Up Of Common Name Of SSL Certificate To Protect Plesk Panel -