When viewing an html page, $(window).width()
is displaying different values when hosted on a server compared to locally. Even though my laptop's resolution is 1920 X 1080, the width shows as 1920 when opened in Firefox and Chrome locally, but only as 1097 when hosted on a server. This discrepancy is causing a shift in the layout of the page. How can I resolve this issue?
P.S When viewed in IE, the width remains consistent between local and server environments. I am currently utilizing Zurb's foundation framework (3.2).