浏览代码

Set PDF output to letter landscape, no margin

Jeremy Mikola 11 年之前
父节点
当前提交
a9b4eb9a05
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      css/print/pdf.css

+ 5 - 0
css/print/pdf.css

@@ -31,6 +31,11 @@ html {
 	overflow: visible;
 }
 
+@page {
+	size: letter landscape;
+	margin: 0;
+}
+
 /* SECTION 2: Remove any elements not needed in print.
    This would include navigation, ads, sidebars, etc. */
 .nestedarrow,