开发者

why are fonts larger when .html page is put on the server?

I wrote a simple page with a header and a lot of text for the body. While I was writing, I tested the page locally on chrome and firefox and the font size seemed to follow what I specified in the css file. However, after I uploaded the html page to the server and looked at it on the specified web address, all the fonts in the body looks 20% larger than what I specified in the css doc.

I am looking for any tips anyone can provide to help me fix this weir开发者_JS百科d bug.

Thanks!


I once encountered this too. I had a local version of my homepage and the uploaded version appeared larger. When I looked into it I found out that it was just the browsers zoom-level that was set differently. I don't exactly know why but I could easily change it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜