如何更改Chrome中的打印默认设置?

时间:2014-08-06 13:00:42

标签: html css google-chrome

issue with margins]![enter image description here

我在Chrome中打印时遇到问题。打印预览中的Chrome会增加自己的利润...... 我可以在Chrome中更改打印输出的默认设置。如果我为margins = none选择设置值,它看起来没问题,但我需要使用CSS得到这样的结果。

我试图添加

    @media print and (color) {
   * {
      -webkit-print-color-adjust: exact;
      print-color-adjust: exact;
   }
}

但它不起作用。 如果我使用:

    @page { 
margin: 0px; 0px; 0px; 0px; 
    }

我使用的是版本36.0.1985.125米的Chrome。

拜托,帮帮我)谢谢。

0 个答案:

没有答案