fixed/cleaned printer output

This commit is contained in:
Sebastian Mendel
2006-02-17 11:00:14 +00:00
parent 92fb4acaa4
commit 1721a77656
4 changed files with 100 additions and 63 deletions

View File

@@ -16,6 +16,8 @@ $Source$
- fixed pre-select for current server (fixed type missmatch) - fixed pre-select for current server (fixed type missmatch)
- do not autosubmit on '(Server) ...' - do not autosubmit on '(Server) ...'
* css/print.css: fixed bug #1419696 'print css results in blank table output' * css/print.css: fixed bug #1419696 'print css results in blank table output'
* tbl_printview.php, css/print.css, themes/*/css/theme_print.css.php:
fixed/cleaned printer output
2006-02-16 Marc Delisle <lem9@users.sourceforge.net> 2006-02-16 Marc Delisle <lem9@users.sourceforge.net>
* lang/italian: update, thanks to Luca Rebellato * lang/italian: update, thanks to Luca Rebellato

View File

@@ -2,12 +2,68 @@
display: none; display: none;
} }
table, body, table, th, td {
table tr td, color: #000000;
table tr th { background-color: #ffffff;
border: 1px solid black; font-size: 8pt;
border-collapse: collapse; }
background-color: white;
color: black; img {
/* font-size: 8pt;*/ border: 0;
}
table, th, td {
border-width: 0.1em;
border-color: #000000;
border-style: solid;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
th, td {
padding: 0.2em;
}
th {
font-weight: bold;
background-color: #e5e5e5;
}
@media print {
.print_ignore {
display: none;
}
body, table, th, td {
color: #000000;
background-color: #ffffff;
font-size: 8pt;
}
img {
border: 0;
}
table, th, td {
border-width: 1px;
border-color: #000000;
border-style: solid;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
th, td {
padding: 0.2em;
}
th {
font-weight: bold;
background-color: #e5e5e5;
}
} }

View File

@@ -1,40 +1,30 @@
/* For printview */ /* For printview */
body{ body, table, th, td {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #000000; color: #000000;
background-color: #ffffff; background-color: #ffffff;
font-size: 8pt;
} }
body * {
font-family: inherit; img {
font-size: inherit; border: 0;
} }
h1{
font-size: 160%; table, th, td {
font-weight: bold; border-width: 0.1em;
color: #000000;
}
table{
border-width: 1px;
border-color: #000000; border-color: #000000;
border-style: solid; border-style: solid;
}
table {
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; border-spacing: 0;
} }
th{
th, td {
padding: 0.2em;
}
th {
font-weight: bold; font-weight: bold;
color: #000000;
background-color: #e5e5e5; background-color: #e5e5e5;
border-width: 1px;
border-color: #000000;
border-style: solid;
padding: 2px;
}
td{
color: #000000;
background-color: #ffffff;
border-width: 1px;
border-color: #000000;
border-style: solid;
padding: 2px;
} }

View File

@@ -1,41 +1,30 @@
/* For printview */ /* For printview */
body{ body, table, th, td {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #000000; color: #000000;
background-color: #ffffff; background-color: #ffffff;
font-size: 8pt;
} }
h1{
font-family: Verdana, Arial, Helvetica, sans-serif; img {
font-size: 16px; border: 0;
font-weight: bold;
color: #000000;
} }
table{
border-width: 1px; table, th, td {
border-width: 0.1em;
border-color: #000000; border-color: #000000;
border-style: solid; border-style: solid;
}
table {
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; border-spacing: 0;
} }
th{
font-family: Verdana, Arial, Helvetica, sans-serif; th, td {
font-size: 10px; padding: 0.2em;
}
th {
font-weight: bold; font-weight: bold;
color: #000000;
background-color: #e5e5e5; background-color: #e5e5e5;
border-width: 1px;
border-color: #000000;
border-style: solid;
padding: 2px;
}
td{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #000000;
background-color: #ffffff;
border-width: 1px;
border-color: #000000;
border-style: solid;
padding: 2px;
} }