Fix for Bug 6291, Cart printing truncated in Firefox

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

Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit da0a5b2bd6)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
Owen Leonard 2011-05-02 15:27:54 -04:00 committed by Chris Nighswonger
parent 7aeccb7ec2
commit feb27c08aa
2 changed files with 14 additions and 4 deletions

View File

@ -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 {

View File

@ -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 {