Druck ab Seite 2 kein Format - Internet Explorer

crsakawolf

Erfahrenes Mitglied
Hallo Freunde,

ich habe folgendes Problem.

Ich muss eine Seite per CSS zum Drucken Formatieren.
Das Klappt im FireFox bisher wunderbar.
Leider ist im Internet Explorer die Formatierung ab Seite 2 nicht mehr vorhanden.

D.h. Tabelleninnenränder sind nicht mehr da. Der Kopf der Tabelle wird nicht wiederholt usw etc pp..

Hier mal der Code
HTML:
<link rel="stylesheet" type="text/css" href="css/print.css" media="print"></link>
HTML:
<div id="ansicht">
  <table cellpadding="0" cellspacing="0" id="evas" border="1">
    <colgroup>
      <col style="min-width:40px;">
      <col style="width:40px;">
    </colgroup>
    <thead>
      <tr>
        <th>Kopf 1</th>
        <th>Kopf 2</th>
      </tr>
    </thead>
    <tbody>
      <tr class="table4  ">
        <td class="center">Feld 1</td>
        <td class="center">Feld 2</td>
      </tr>
    </tbody>
  </table>
</div>

die CSS
Code:
{
overflow:visible !important;
}
@page 		{ 
				size:landscape;  /* Querformat */
				margin:3cm 2cm 3cm 2cm;
			}

/* ALLGEMEINE ANGABEN */
body 		{
				margin:0px;
				padding:0px;
				font-family:arial;
				overflow:auto;
				font-size:6pt;
			}
.table1 	{ background-color:#FFF;} 
.table2 	{ background-color:#e9f5f5; }
.table3 	{ background-color:#CCC; color:#555; }
.table3 a 	{ color:#555; }
.table4 	{ background-color:#7eafb0; color:#555; } 
.table4 a 	{ color:#555; }	
#ansicht 	{	/* DIV CONTAINER CONTENT */
				position:absolute;
				top:30px;
				margin-top:0px;
				padding:0px;
				clear:both;
				margin-left:2px;
			}
#ansicht td, #ansicht th{	/* TABELLENFORMATION */
				border:1px solid #000;
				border-left:1px solid #000;
				border-right:1px solid #000;
				border-top:1px solid #000;
				border-bottom:1px solid #000;
			}
#ansicht td { 	/* TABELLENFORMATION */
			}
#ansicht table{ /* TABELLENFORMATION */
				border:1px solid #000;				
				border-collapse:collapse;
				font-size:6pt;
			}
#ansicht thead {	/* TABELLENFORMATION */
				background-color:#efedde;		
				page-break-before:always;		
			}
#ansicht thead th {	/* TABELLENFORMATION */
			}
#ansicht thead th img {
			display:none;
			}
#ansicht tbody {	/* TABELLENFORMATION */
			}
#ansicht tbody .center {	/* TABELLENFORMATION */
				text-align:center;
			}


Wie gesagt 1. Seite ist Ok. Obwohl er da auch die TabellenZeile mittendrin umbricht (Was FF nicht macht).
Aber ab Seite 2 ist keine Formatierung mehr zu sehen..

Danke schonmal
 

Neue Beiträge

Zurück