如何在打印预览上设置边距0? [英] How to set margins 0 on print preview?

查看:212
本文介绍了如何在打印预览上设置边距0?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在哪里做错了?

这是正常的打印预览:

This is the normal print preview:

但我想看到这张照片(不拖动边距箭头)

But I want to see this picture (without dragging margin arrows)

这是CSS代码和预览:

This is the css codes and preview:

推荐答案

您最好做的是设置 @page margin 。但是,请记住,如果您将边距设置为0,您可以并且很可能会被推翻。

The best you can do is set @page margins. Keep in mind, however, that you can and most likely will be overruled if you set margins to 0.

这篇关于如何在打印预览上设置边距0?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆