Chrome 中 css 的高度和宽度值太小。或者宽度太大?
我有一个网站页面,在 Safari 中似乎无法正确渲染 chrome。
看起来它渲染屏幕宽度的像素是其他浏览器的两倍。我怀疑这可能是初始视口设置,它适用于Windows和Apple的所有其他浏览器,除了Mac上的Chrome版本。
我尝试删除视口设置,但这似乎不起作用。我使用的是最新版本的 Chrome,如果我在 chrome 旁边打开一个窗口,您可以看到 chrome 将屏幕渲染为两倍宽,即使它占用相同的宽度。
哎呀。我无法发布图像,但您可以在这里看到它: http://straathof.acadnet.ca/ test_chrome.jpg
如果您想测试它,可以访问此处的页面:http://straathof .acadnet.ca/reblend55
任何有助于追踪此问题的帮助将不胜感激。我不知道该去哪里看。
I have a web site page that doesn't seem to be rendering properly for chrome in safari.
It appears it is rendering the width of the screen with twice as many pixels as other browsers. I suspect it may be the initial viewport settings, which work in all other browsers for windows and apple, except for the version of chrome on mac.
I tried removing the viewport setting but that doesn't seem to work. I am using the latest version of Chrome, and if I have a window open in safari beside chrome you can see that chrome is rendering the screen as twice as wide, even though it takes up the same width.
Oops. I can't post an image, but you can see it here: http://straathof.acadnet.ca/test_chrome.jpg
If you would like to test it, you can visit the page here: http://straathof.acadnet.ca/reblend55
Any help for tracking down this problem would be appreciated. I have no idea where to look.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
control-0 删除了已添加到网页的所有缩放,这使其能够以正确的宽度正确呈现。显然,几个月前,我放大了一些东西,即使 Chrome 被删除、重新安装和重置,更不用说多次退出和重新启动,它仍然记得那个错误的缩放值。
烦人,但回答了别人的建议。
control-0 removed any zooms that had been added to the web page, which allowed it to render properly at the correct width. Apparently some months ago I zoomed in on something and, even though Chrome was removed reinstalled and reset, not to mention quit and restarted a whole lot of times, it still remembered that errant zoom value.
annoying, but answered with someone elses suggestion.