Div宽度(cm)(英寸) [英] Div width in cm (inch)
本文介绍了Div宽度(cm)(英寸)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要放在我的网站div,正是25厘米宽度(10英寸)在每个显示器。
I need to put in my site div which is exactly 25cm width ( 10 inch) in every display. How I can do it ?
推荐答案
您可以直接使用 cm
CSS中的单位:
You can simply use the cm
unit in CSS:
#mydiv { width: 25cm; }
注意,正如其他人指出的,结果仍然取决于正确的显示器大小读数
Note that, as others pointed out, the result still depends on the correct reading of the monitor size by the operating system.
请参阅规格了解更多信息。
这篇关于Div宽度(cm)(英寸)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文