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.
我使用“自定义 html 应用程序”创建了包含数据的表。我现在想打印这个页面,但是当我尝试这样做时,它会减少最后几列。
我试图将正文样式设置为“宽度:1000px”,然后打印正常,但它没有显示在整个屏幕上,我有大小为 1000px 的表格
我们通常最终会使用与运行时稍有不同的 css 进行打印。尝试这个:
@media print { body { width: 1000px; } }