Mac上的Chrome和Windows上的Chrome有什么区别? [英] Any difference between Chrome on Mac and Chrome on Windows?

查看:1404
本文介绍了Mac上的Chrome和Windows上的Chrome有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究CSS3和HTML5,并试图开发一个简单的主页.由于我家只有Mac界面,所以我无法检查Windows上的任何差异.

I am studying CSS3 and HTML5 and trying to develop a simple homepage. Since I have only Mac interface in my house so I couldn't check any differences on windows.

但是有一天,我的一个熟人告诉我,我根本不了解的浏览器之间存在像素差异.然后我检查了我的页面,发现它是错误的.

But one day, one of my acquaintances told me that there is a pixel difference between browsers which I didn't know at all. Then I checked my page and it appeared to be wrong.

即使分辨率与我设置的分辨率相同,Mac上的Chrome也显示了几个按钮的适当位置,而Windows上的Chrome却没有.

Even though it was same resolution as I set, Chrome on Mac showed me an appropriate position of several buttons but Chrome on Windows didn't.

他们的立场大相径庭,破坏了设计.我该如何解决这个问题?还是正常?

Their position was quite different and ruined the design. How can I fix this problem? or is it normal?

谢谢.

推荐答案

开发一个在操作系统和浏览器的每种组合上都相同的网站不是一件容易的事.为了解决问题,它个人增加了我的开发时间很多时间.

Developing a site that is the same on every combination of operating system and browser is no easy task. It has personally added many hours to my development time trying to fix the issues.

有几种工具可以帮助您完成此任务,例如跨浏览器测试.或者,您可以通过在计算机上安装浏览器来手动测试它.使用虚拟机在其他平台上测试您的网站也很常见. VMware 很受欢迎.

There are several tools out there that try to help you with this task, such as Cross Browser Testing. Or you can manually test it by installing the browsers on your machine. It is also common to use virtual machines to test your website on other platforms. VMware is popular.

使用跨浏览器库也可以帮助实现这一目标.例如非常流行的 jQuery .此页面总体上列出了有关该主题的更多信息.

Using cross browser libraries can also aid in this. Such as jQuery, which is very popular. This page lists more information on the subject, in general.

这篇关于Mac上的Chrome和Windows上的Chrome有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆