[Koha-patches] [PATCH] Fix for Bug 6291, Cart printing truncated in Firefox

Owen Leonard oleonard at myacpl.org
Thu May 12 16:58:31 CEST 2011


Implementing 100% width and height on <table>,<td>, and <th>
as suggested by this post:

http://www.piglets.org/serendipity/archives/45-Fixing-truncated-printing-with-Firefox.html
---
 koha-tmpl/opac-tmpl/prog/en/css/print.css |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

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



More information about the Koha-patches mailing list