so kann man z.b. im print-stylesheet per display:none; container ausblenden, die man nicht gedruckt haben will, andere schriftgrößen und -familien verwenden usw. usw.
dazu gibt es tausende infoquellen

Code: Alles auswählen
/* Basic layout */
.text {
color: #000000;
font-family: helvetica, arial, geneva, sans-serif;
font-size: 11px;
}
.textbold {
color: #000000;
font-family: helvetica, arial, geneva, sans-serif;
font-size: 11px;
font-weight: bold;
}
Code: Alles auswählen
/* Printer layout */
.text {
color: #000000;
font-family: helvetica, arial, geneva, sans-serif;
font-size: 28px;
}
.textbold {
color: #000000;
font-family: helvetica, arial, geneva, sans-serif;
font-size: 28px;
font-weight: strong;
}
.print {
display: none;
height: 100%;
width: 0px;
}
Code: Alles auswählen
<!doctype html public "-//W3C//DTD HTML 4.0 //EN">
<html>
<head>
<title>Website Titel</title>
<link rel="stylesheet" type="text/css" href="css/format.css" media="screen">
<link rel="stylesheet" type="text/css" href="css/format_p.css" media="print">
</head>
<body>
<table width="100%" cellspacing="0" cellpadding="0" border="1">
<tr>
<td class="text">CMS_CONTAINER[1]</td>
<td class="text">CMS_CONTAINER[2]</td>
</tr>
<tr class="text">
<td class="print">CMS_CONTAINER[3]</td>
<td class="print">CMS_CONTAINER[4]</td>
</tr>
</table>
</body>
</html>
Code: Alles auswählen
<!doctype html public "-//W3C//DTD HTML 4.0 //EN">
<html>
<head>
<title>Website Titel</title>
<link rel="stylesheet" type="text/css" href="css/format.css" media="screen">
<link rel="stylesheet" type="text/css" href="css/format_p.css" media="print">
</head>
<body>
<table width="100%" cellspacing="0" cellpadding="0" border="1">
<tr>
<td class="text">CMS_CONTAINER[1]</td>
<td class="text">CMS_CONTAINER[2]</td>
</tr>
<tr class="print">
<td class="textbold">CMS_CONTAINER[3]</td>
<td class="textbold">CMS_CONTAINER[4]</td>
</tr>
</table>
</body>
</html>