打印:打印页面的元 [英] Print: Meta for Print page
本文介绍了打印:打印页面的元的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用此元数据在移动设备上显示我的桌面版本。
I use this meta to show my desktop version in mobile.
< meta name =viewportcontent = >
现在我想让它在打印中呈现。当我想打印页面,在纵向版本我的屏幕是切割。在打印中是否有元?如何缩小我的网页以供列印?
Now I want this to be rendered in print too. When I want to print the page, in portrait version my screen is cutted of. Is there a meta for this in print? How can I zoom out my page for print too?
移动版的相关问题在这里 RWD:在移动设备中显示桌面版本,无水平滚动
Related question for mobile is here RWD: Show Desktop version in mobile minified, without horizontal scroll
推荐答案
@media print{@page {size: landscape}}
@page { size : portrait }
@page rotated { size : landscape }
stackoverflow -landscape从html打印
tutorialspoint - css paged media
这篇关于打印:打印页面的元的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文