Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有任何国际标准可以在最大化的浏览器窗口中获取屏幕像素?
不存在这样的标准。您只能根据统计数据假设最低的流行分辨率是什么并适应它。Current;y 1024px 桌面操作系统的屏幕宽度差不多。
您仍然需要为浏览器 GUI 对象(例如滚动条)减去一些像素。由于这些项目的大小取决于所使用的操作系统/浏览器/浏览器设置,因此该数字可能会有所不同。
底线:没有标准。