Local website renders differently using (IP address or machine name) vs localhost?

后端 未结 4 1115
夕颜
夕颜 2020-12-15 09:49

I have an MVC3 (razor) site published to IIS7 locally for testing purposes.

When I access the site via \"localhost\" it looks different from when I access using the

4条回答
  •  情书的邮戳
    2020-12-15 10:17

    I had a similar issue, where the sizes differed from the local development site to the one on the production server. Turned out that I forgot the zoom level to 90% when viewing the development version... This answer helped me realize that: https://superuser.com/questions/315448/different-font-size-between-localhost-and-remote-server-in-firefox

提交回复
热议问题