From ed53773e9c7b5865b726a9404d01a6fa8d71d8e3 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 2 May 2011 15:27:54 -0400 Subject: [PATCH] [REVISED] Fix for Bug 6291, Cart printing truncated in Firefox Content-Type: text/plain; charset="utf-8" Implementing 100% width and height on ,
, and as suggested by this post: http://www.piglets.org/serendipity/archives/45-Fixing-truncated-printing-with-Firefox.html --- koha-tmpl/intranet-tmpl/prog/en/css/print.css | 9 +++++++-- koha-tmpl/opac-tmpl/prog/en/css/print.css | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/print.css b/koha-tmpl/intranet-tmpl/prog/en/css/print.css index 955b68b..d2ad905 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/print.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/print.css @@ -17,7 +17,7 @@ body { background-color : #FFF; color : #333333; font-family : arial, geneva, sans-serif; - font-size : 14px; + font-size : 12px; margin : 0px 0px 0px 0px; } @@ -94,7 +94,8 @@ table { border-left : 1px solid #CCCCCC; margin : 3px 0px 5px 0px; padding : 0px; - width : 99%; + width : 100%; + height : 100%; } table.list { @@ -114,6 +115,8 @@ td { border-left : 0; font-size : 12px; padding : 5px 5px 5px 5px; + width : 100%; + height : 100%; } td:last-child { @@ -124,6 +127,8 @@ td:last-child { border-left : 0; font-size : 12px; padding : 5px 5px 5px 5px; + width : 100%; + height : 100%; } table.list th { diff --git a/koha-tmpl/opac-tmpl/prog/en/css/print.css b/koha-tmpl/opac-tmpl/prog/en/css/print.css index 85df351..53db2bc 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/print.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/print.css @@ -17,7 +17,7 @@ body { background-color : #FFF; color : #333333; font-family : arial, geneva, sans-serif; - font-size : 14px; + font-size : 12px; margin : 0px 0px 0px 0px; } @@ -98,7 +98,8 @@ table { border-left : 0px solid #CCCCCC; margin : 3px 0px 5px 0px; padding : 0px; - width : 99%; + width : 100%; + height : 100%; } td { @@ -107,6 +108,8 @@ td { border-right : 1px solid #CCCCCC; padding : 5px 5px 5px 5px; vertical-align : top; + width : 100%; + height : 100%; } td:last-child { @@ -123,6 +126,8 @@ th { border-right : 1px solid #CCCCCC; font-weight : bold; padding : 5px 5px 5px 5px; + width: 100%; + height : 100%; } th:last-child { -- 1.7.3