How accurate are CSS's real-world units?

倖福魔咒の 提交于 2020-01-01 05:05:48

问题


I'm beginning experiments with CSS' real-world units, specifically, in and cm, for purposes of printing.

Are these units based on how they will be displayed on-screen or how they will be printed by a printer? How accurate are these units?


回答1:


According to W3C, only em, px and % are recommended for screen, the others for print.

Therefore, in a print application, the in and cm measurements could be precisely accurate.

There is an excellent article on such applications here:
http://meyerweb.com/eric/articles/webrev/200001.html



来源:https://stackoverflow.com/questions/7341808/how-accurate-are-csss-real-world-units

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!