Chrome 中 css 的高度和宽度值太小。或者宽度太大?

发布于 2024-11-09 05:09:15 字数 550 浏览 10 评论 0原文

我有一个网站页面,在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

入怼 2024-11-16 05:09:15

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文