如何获取打印区域的大小?
答
你的问题有点含糊,但假设你想通过JavaScript要做到这一点,请参阅:
How do I retrieve an HTML element's actual width and height?
不,我需要大小的打印区域(打印ctrl + p)来计算内容。 –