<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tutorialwelt.de &#187; Internet Explorer</title>
	<atom:link href="http://www.tutorialwelt.de/tag/internet-explorer/feed" rel="self" type="application/rss+xml" />
	<link>http://www.tutorialwelt.de</link>
	<description>Tutorials aus der IT-Welt</description>
	<lastBuildDate>Sat, 22 May 2010 13:24:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>IT Sicherheit &#8211; Internet Explorer und die Aurora Attacke per mshtml.dll</title>
		<link>http://www.tutorialwelt.de/475/it-sicherheit-internet-explorer-und-die-aurora-attacke-per-mshtml-dll.htm</link>
		<comments>http://www.tutorialwelt.de/475/it-sicherheit-internet-explorer-und-die-aurora-attacke-per-mshtml-dll.htm#comments</comments>
		<pubDate>Thu, 21 Jan 2010 14:19:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IT-Sicherheit]]></category>
		<category><![CDATA[Aurora Attacke]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Javascript Exploit]]></category>

		<guid isPermaLink="false">http://www.tutorialwelt.de/?p=475</guid>
		<description><![CDATA[Der Internet Explorer und die Aurora Attacke.
Das BSI - die Bundesbehörde für Sicherheit hat eine gefährliche Lücke im Internet Explorer festgestellt. Hierbei wird die mshtml.dll angegriffen.  Ein Schadhafter Code wird auf Internet Seiten gesetzt. Teilweise wird auch Google missbraucht, User auf diese Seiten zu bringen. Sobald ein User eine solche Seite öffnet...


Related posts:<ol><li><a href='http://www.tutorialwelt.de/548/wichtiges-sicherheits-update-fur-internet-explorer-6-8.htm' rel='bookmark' title='Permanent Link: WICHTIGES Sicherheits-Update für Internet Explorer 6-8'>WICHTIGES Sicherheits-Update für Internet Explorer 6-8</a> <small>Heute möchte ich alle meine Besucher darauf aufmerksam machen, daß...</small></li>
<li><a href='http://www.tutorialwelt.de/551/windows-und-die-wohl-brisanteste-sicherheitslucke-seit-langem.htm' rel='bookmark' title='Permanent Link: Windows und die wohl brisanteste Sicherheitslücke seit langem'>Windows und die wohl brisanteste Sicherheitslücke seit langem</a> <small>Tavis Ormandy ein Sicherheitsexprete von Google hat nun eine der...</small></li>
<li><a href='http://www.tutorialwelt.de/174/cookies-von-iframes-im-internet-explorer.htm' rel='bookmark' title='Permanent Link: Cookies von Iframes im Internet Explorer'>Cookies von Iframes im Internet Explorer</a> <small>...Hierbei geht es um den Umgang mit Cookies von Drittanbietern....</small></li>
</ol>

Ähnliche Artikel bereitgestellt von <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<h1 style="font-size: 16px;">IT-Sicherheit &#8211; Internet Explorer und die Aurora Attacke per mshtml.dll</h1>
<p>Heute mal ein ganz anderes Thema:</p>
<p>Der Internet Explorer und die Aurora Attacke.<br />
Das BSI &#8211; die Bundesbehörde für Sicherheit hat eine gefährliche Lücke im Internet Explorer festgestellt. Hierbei wird die mshtml.dll angegriffen.  Ein Schadhafter Code (ein sogenannter Javascript Exploit) wird auf Internet Seiten gesetzt. Teilweise wird auch Google missbraucht, User auf diese Seiten zu bringen. Sobald ein User eine solche Seite öffnet, erhält der Hacker eine Meldung und schon kann er richtig aktiv werden. Er erhält, ohne das Wissen des Users, Zugriff auf dessen Rechner und kann dort nach Belieben wüten. Er kann Dateien löschen etc.</p>
<p>Ein Video dazu habe ich diesem Artikel beigefügt. Hier kann man genau sehen, was passiert:<br />
Es wird auf einer Webseite der schadhafte Code eingefügt.</p>
<p>Die Seite wird geöffnet und links erscheint sofort die Meldung über einen offenen Rechner.</p>
<p>Das &#8220;wichtige Dokument&#8221; wird gekillt.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="178" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=8771582&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="178" src="http://vimeo.com/moogaloop.swf?clip_id=8771582&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><a href="http://vimeo.com/8771582">Der &#8220;Aurora&#8221; IE Exploit in Aktion &#8211; ein größeres Video</a> von <a href="http://vimeo.com/prefects">The Crew of Praetorian Prefect</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>Den schadhaften Code werde ich hier nicht posten, da ich nicht möchte, daß das Ganze weiter verbreitet wird.</p>
<p>Ich kann derzeit nur jedem raten, den Internet Explorer bis zum offiziellen Update von Microsoft zu meiden.Angeblich soll die 8er Version sicher sein. Aber darauf würde ich mich nicht verlassen.</p>


<p>Related posts:<ol><li><a href='http://www.tutorialwelt.de/548/wichtiges-sicherheits-update-fur-internet-explorer-6-8.htm' rel='bookmark' title='Permanent Link: WICHTIGES Sicherheits-Update für Internet Explorer 6-8'>WICHTIGES Sicherheits-Update für Internet Explorer 6-8</a> <small>Heute möchte ich alle meine Besucher darauf aufmerksam machen, daß...</small></li>
<li><a href='http://www.tutorialwelt.de/551/windows-und-die-wohl-brisanteste-sicherheitslucke-seit-langem.htm' rel='bookmark' title='Permanent Link: Windows und die wohl brisanteste Sicherheitslücke seit langem'>Windows und die wohl brisanteste Sicherheitslücke seit langem</a> <small>Tavis Ormandy ein Sicherheitsexprete von Google hat nun eine der...</small></li>
<li><a href='http://www.tutorialwelt.de/174/cookies-von-iframes-im-internet-explorer.htm' rel='bookmark' title='Permanent Link: Cookies von Iframes im Internet Explorer'>Cookies von Iframes im Internet Explorer</a> <small>...Hierbei geht es um den Umgang mit Cookies von Drittanbietern....</small></li>
</ol></p>
<p>Ähnliche Artikel bereitgestellt von <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.tutorialwelt.de/475/it-sicherheit-internet-explorer-und-die-aurora-attacke-per-mshtml-dll.htm/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>HTML Tabellen tbody scrollen und korrekt ausdrucken Teil 2</title>
		<link>http://www.tutorialwelt.de/377/html-tabellen-tbody-scrollen-und-korrekt-ausdrucken-teil-2.htm</link>
		<comments>http://www.tutorialwelt.de/377/html-tabellen-tbody-scrollen-und-korrekt-ausdrucken-teil-2.htm#comments</comments>
		<pubDate>Sun, 18 Oct 2009 10:00:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Html tabellen ausdrucken]]></category>
		<category><![CDATA[html table]]></category>
		<category><![CDATA[HTML-Tabellen]]></category>
		<category><![CDATA[HTML-Tutorial]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[tbody Tabellen]]></category>
		<category><![CDATA[tbody Tabellen ausdrucken]]></category>

		<guid isPermaLink="false">http://www.tutorialwelt.de/?p=377</guid>
		<description><![CDATA[In unserem vorherigen Tutorial hatten wir zuletzt mehrere Probleme:
Opera hat bei dem Einsatz von table-row-group in der ersten Zeile der zweiten Seite nur der Inhalt der ersten Zelle angezeigt.
Opera und Firefox haben den Inhalt aller drei Spalten in die erste gesetzt.

Um den Fehler des Opera Browsers in der ersten Zeile der zweiten Seite in den Griff zu bekommen, müssen wir ....


Related posts:<ol><li><a href='http://www.tutorialwelt.de/319/html-tabellen-tbody-scrollen-und-korrekt-ausdrucken-teil-1.htm' rel='bookmark' title='Permanent Link: HTML Tabellen tbody scrollen und korrekt ausdrucken Teil 1'>HTML Tabellen tbody scrollen und korrekt ausdrucken Teil 1</a> <small>Im letzten Tutorial habe ich Euch gezeigt, wie man bei...</small></li>
<li><a href='http://www.tutorialwelt.de/251/cellpadding-cellspacing.htm' rel='bookmark' title='Permanent Link: Tabellen in HTML &#8211; Teil 3 Cellpadding und Cellspacing'>Tabellen in HTML &#8211; Teil 3 Cellpadding und Cellspacing</a> <small>In diesem Tutorial möchte ich mich mit Abständen innerhalb der...</small></li>
<li><a href='http://www.tutorialwelt.de/210/tabellen-in-html-tutorial-2-der-rahmen.htm' rel='bookmark' title='Permanent Link: Tabellen in HTML &#8211; Tutorial 2 der Rahmen'>Tabellen in HTML &#8211; Tutorial 2 der Rahmen</a> <small>...Im letzten Tutorial habe ich erklärt, wie man die Rahmendicke...</small></li>
</ol>

Ähnliche Artikel bereitgestellt von <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<h1 style="font-size: 12px;">Fortsetzung Tutorial<br />
HTML Tabellen tbody scrollen und korrekt ausdrucken</h1>
<p>In unserem vorherigen Tutorial hatten wir zuletzt mehrere Probleme:<br />
Opera hat bei dem Einsatz von table-row-group in der ersten Zeile der zweiten Seite nur der Inhalt der ersten Zelle angezeigt.<br />
Opera und Firefox haben den Inhalt aller drei Spalten in die erste gesetzt.</p>
<p>Um den Fehler des Opera Browsers in der ersten Zeile der zweiten Seite in den Griff zu bekommen, müssen wir<br />
display: table-row-group; mit display:block; ersetzen:</p>
<p><small>Beispielcode print.css:</small></p>
<div style="border-style: inset; border-color: #a39c87 #a39c87 #e0d7b9 #e0d7b9; padding: 10px; overflow: auto; width: 100%; background-color: #f4f0e2;">
<pre>#printoutertab {
      border: 1px #000000 solid;
      position: absolute;
      top: 10px;
      left: 10px;
      }

  #screenoutertab {
          visibility:hidden;
      }

  #printoutertab tbody td {width: 220px;}
  tbody tr {display: block;}</pre>
</div>
<p>Und schon ist das Ergebnis besser:</p>
<p><span style="font-size: 8px;">Screenshot Opera:</span></p>
<div id="attachment_380" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-380" title="tbody Tabelle Seitenumbruch im Opera ausgedruckt" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw4_2_2_op-300x250.jpg" alt="tbody Tabelle Seitenumbruch im Opera ausgedruckt" width="300" height="250" /><p class="wp-caption-text">tbody Tabelle Seitenumbruch im Opera ausgedruckt</p></div>
<p>Das gleiche Ergebnis liefert uns nun der Firefox Browser:<br />
<span style="font-size: 8px;"> </span></p>
<p><span style="font-size: 8px;">Screenshot Firefox:</span></p>
<div id="attachment_357" class="wp-caption alignnone" style="width: 301px"><img class="size-medium wp-image-357" title="Ausdruck im Firefox mit table-row-group" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw4_1_ff-291x300.jpg" alt="Ausdruck im Firefox mit table-row-group" width="291" height="300" /><p class="wp-caption-text">Ausdruck im Firefox mit table-row-group</p></div>
<p><span style="font-size: 8px;"> </span></p>
<p><span style="font-size: 8px;">Screenshot Firefox:</span></p>
<div id="attachment_358" class="wp-caption alignnone" style="width: 285px"><img class="size-medium wp-image-358" title="Ausdruck Seitenumbruch im Firefox table-row-group" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw4_2_ff-275x300.jpg" alt="Ausdruck Seitenumbruch im Firefox table-row-group" width="275" height="300" /><p class="wp-caption-text">Ausdruck Seitenumbruch im Firefox table-row-group</p></div>
<p>Diese Stauchung gibt es nun im Internet Explorer nicht:<br />
<span style="font-size: 8px;"> </span></p>
<p><span style="font-size: 8px;">Screenshot Internet Explorer:</span></p>
<div id="attachment_361" class="wp-caption alignnone" style="width: 288px"><img class="size-medium wp-image-361" title="Ausdruck im Internet Explorer mit table-row-group" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw4_1_ie-278x300.jpg" alt="Ausdruck im Internet Explorer mit table-row-group" width="278" height="300" /><p class="wp-caption-text">Ausdruck im Internet Explorer mit table-row-group</p></div>
<p><span style="font-size: 8px;">Screenshot Internet Explorer:</span></p>
<div id="attachment_362" class="wp-caption alignnone" style="width: 286px"><img class="size-medium wp-image-362" title="Ausdruck Seitenumbruch im Internet Explorer table-row-group" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw4_2_ie-276x300.jpg" alt="Ausdruck Seitenumbruch im Internet Explorer table-row-group" width="276" height="300" /><p class="wp-caption-text">Ausdruck Seitenumbruch im Internet Explorer table-row-group</p></div>
<p>Der Fehler beim Seitenumbruch besteht allerdings immer noch.<br />
Der Unterschied zwischen Internet Explorer und Opera/Firefox besteht darin, daß die Browser bei der Berechnung der Breite von unterschiedlichen Grundwerten ausgehen. Opera und Firefox setzen die table-row-group in die erste Spalte der Tabelle und verbreitern somit die komplette erste Spalte, während sie die letzten beiden stauchen. Der Internet Explorer würde von der Header Zeile ausgehen und nicht vom Body.</p>
<p>Zu dem Firefox/Opera Problem der Stauchung gibt es eine Lösung. Man fügt eine weitere kleine Tabelle in die erste th Zelle des thead Bereiches ein. In dieser Tabelle sind nun die eigentlichen drei thead Werte vorhanden:</p>
<p><small>Beispielcode HTML:</small></p>
<div style="border-style: inset; border-color: #a39c87 #a39c87 #e0d7b9 #e0d7b9; padding: 10px; overflow: auto; width: 100%; background-color: #f4f0e2;">
<pre>&lt;html&gt;
 &lt;head&gt;
  &lt;link rel="stylesheet" media="screen" href="screen.css"&gt;
  &lt;link rel="stylesheet" media="print" href="print.css"&gt;
 &lt;/head&gt;
 &lt;body&gt;
  &lt;table id="screenoutertab"&gt;
    ..........
   &lt;/table&gt;

  &lt;table id="printoutertab"&gt;
   &lt;thead&gt;
    &lt;tr&gt;
     &lt;th&gt;&lt;table&gt;&lt;tr&gt;&lt;td class="z1"&gt;Überschrift 1&lt;/td&gt;&lt;td class="z1"&gt;Überschrift 2&lt;/td&gt;&lt;td class="z1"&gt;Überschrift 3&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/th&gt;
     &lt;th&gt;&amp;nbsp;&lt;/th&gt;
     &lt;th&gt;&amp;nbsp;&lt;/th&gt;
    &lt;/tr&gt;
   &lt;/thead&gt;
   &lt;tfoot&gt;
    &lt;tr&gt;
     &lt;th&gt;&lt;table&gt;&lt;tr&gt;&lt;td class="z1"&gt;Fußnote 1&lt;/td&gt;&lt;td class="z1"&gt;Fußnote 2&lt;/td&gt;&lt;td class="z1"&gt;Fußnote 3&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/th&gt;
     &lt;th&gt;&amp;nbsp;&lt;/th&gt;
     &lt;th&gt;&amp;nbsp;&lt;/th&gt;
    &lt;/tr&gt;
   &lt;/tfoot&gt;
   &lt;tbody&gt;
           &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            ........
            ........
            ........
    &lt;/tbody&gt;
   &lt;/table&gt;

  &lt;/body&gt;
 &lt;/html&gt;</pre>
</div>
<p>Ich habe zur einfacheren Zuordnung den Zellen der verschachtelten Tabelle die Klasse z1 zugeordnet.</p>
<p>In der print.css müssen wir noch der Klasse css den Wert font-weight: bold; und width: 220px; zuordnen.</p>
<p>Die print.css sähe dann folgendermaßen aus:<br />
<small></small></p>
<p><small>Beispielcode print.css:</small></p>
<div style="border-style: inset; border-color: #a39c87 #a39c87 #e0d7b9 #e0d7b9; padding: 10px; overflow: auto; width: 100%; background-color: #f4f0e2;">
<pre>  #printoutertab {
      border: 1px #000000 solid;
      position: absolute;
      top: 10px;
      left: 10px;
      }

  #screenoutertab {
          visibility:hidden;
      }

  #printoutertab tbody td {width: 220px;}
  tbody tr {display: block;}
  .z1 {font-weight: bold; width: 220px;}</pre>
</div>
<p>Nun sieht das Ganze im Firefox folgendermaßen aus:<br />
<span style="font-size: 8px;"> </span></p>
<p><span style="font-size: 8px;">Screenshot Firefox:</span></p>
<div id="attachment_365" class="wp-caption alignnone" style="width: 304px"><img class="size-medium wp-image-365" title="tbody Tabelle im Firefox ausgedruckt" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw5_1_ff-294x300.jpg" alt="tbody Tabelle im Firefox ausgedruckt" width="294" height="300" /><p class="wp-caption-text">tbody Tabelle im Firefox ausgedruckt</p></div>
<p>Und der Seitenumbruch sieht auch perfekt aus:<br />
<span style="font-size: 8px;">Screenshot Firefox:</span></p>
<div id="attachment_366" class="wp-caption alignnone" style="width: 298px"><img class="size-medium wp-image-366" title="tbody Tabelle Seitenumbruch im Firefox ausgedruckt" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw5_2_ff-288x300.jpg" alt="tbody Tabelle Seitenumbruch im Firefox ausgedruckt" width="288" height="300" /><p class="wp-caption-text">tbody Tabelle Seitenumbruch im Firefox ausgedruckt</p></div>
<p>Jetzt schauen wir uns das Ergebnis im Opera an:<br />
<span style="font-size: 8px;"> </span></p>
<p><span style="font-size: 8px;">Screenshot Opera:</span></p>
<div id="attachment_367" class="wp-caption alignnone" style="width: 241px"><img class="size-medium wp-image-367" title="tbody Tabellen Ausdruck im Opera" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw5_1_op-231x300.jpg" alt="tbody Tabellen Ausdruck im Opera" width="231" height="300" /><p class="wp-caption-text">tbody Tabellen Ausdruck im Opera</p></div>
<p>Und beim Seitenumbruch:</p>
<p><span style="font-size: 8px;">Screenshot Opera:</span></p>
<div id="attachment_384" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-384" title="tbody Tabellen Ausdruck Seitenumbruch im Opera" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw5_2_op1-300x272.jpg" alt="tbody Tabellen Ausdruck Seitenumbruch im Opera" width="300" height="272" /><p class="wp-caption-text">tbody Tabellen Ausdruck Seitenumbruch im Opera</p></div>
<p>Das Tabellenende ist nun korrekt berechnet worden. Die Spalten sind auf die richtige Breite gebracht. Hier passt nun alles.</p>
<p>Doch nun kommt noch einmal der Internet Explorer an die Reihe. Diesmal zickt der IE:<br />
<span style="font-size: 8px;"> </span></p>
<p><span style="font-size: 8px;">Screenshot Internet Explorer:</span></p>
<div id="attachment_369" class="wp-caption alignnone" style="width: 289px"><img class="size-medium wp-image-369" title="tbody Tabelle im Internet Explorer ausgedruckt" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw5_1_ie-279x300.jpg" alt="tbody Tabelle im Internet Explorer ausgedruckt" width="279" height="300" /><p class="wp-caption-text">tbody Tabelle im Internet Explorer ausgedruckt</p></div>
<p>Beim Seitenumbruch stimmt das Ganze auch nicht:<br />
<span style="font-size: 8px;"> </span></p>
<p><span style="font-size: 8px;">Screenshot Internet Explorer:</span></p>
<div id="attachment_370" class="wp-caption alignnone" style="width: 284px"><img class="size-medium wp-image-370" title="tbody Tabelle Seitenumbruch im Internet Explorer ausgedruckt" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw5_2_ie-274x300.jpg" alt="tbody Tabelle Seitenumbruch im Internet Explorer ausgedruckt" width="274" height="300" /><p class="wp-caption-text">tbody Tabelle Seitenumbruch im Internet Explorer ausgedruckt</p></div>
<p>In der vorherigen Version stimmte die Anzeige des Internet Explorers, aber nicht die von Opera und Firefox.<br />
Jetzt ist es umgekehrt. Stehen wir nun vor einem unlösbaren Problem? NEIN!<br />
Wir werden nun eine Abfrage einführen. Wenn der Internet Explorer verwendet wird, soll die verschachtelte Tabelle nicht zum Einsatz kommen.</p>
<p>Zuletzt ist mir noch aufgefallen, daß bei Opera bei thead und tfoot die Einträge nicht zentriert wurden, wie bei den anderen Browsern. Also werden wir in der CSS die z1 Klasse noch um ein text-align: center; erweitern.</p>
<p><small>Beispielcode print.css:</small></p>
<div style="border-style: inset; border-color: #a39c87 #a39c87 #e0d7b9 #e0d7b9; padding: 10px; overflow: auto; width: 100%; background-color: #f4f0e2;">
<pre>  #printoutertab {
      border: 1px #000000 solid;
      position: absolute;
      top: 10px;
      left: 10px;
      }

  #screenoutertab {
          visibility:hidden;
      }

  #printoutertab tbody td {width: 220px;}
  tbody tr {display: block;}
  .z1 {font-weight: bold; width: 220px; text-align: center;}</pre>
</div>
<p>Um den Internet Explorer abzufragen verwenden wir folgendes Javascript:<br />
if (navigator.appName==&#8221;Microsoft Internet Explorer&#8221;) {</p>
<p>Unsere HTML Datei sähe dann folgendermaßen aus:</p>
<p><small>Beispielcode HTML:</small></p>
<div style="border-style: inset; border-color: #a39c87 #a39c87 #e0d7b9 #e0d7b9; padding: 10px; overflow: auto; width: 100%; background-color: #f4f0e2;">
<pre>&lt;html&gt;
 &lt;head&gt;
  &lt;link rel="stylesheet" media="screen" href="screen.css"&gt;
  &lt;link rel="stylesheet" media="print" href="print.css"&gt;
 &lt;/head&gt;
 &lt;body&gt;
  &lt;table id="screenoutertab"&gt;
    ..........
   &lt;/table&gt;

  &lt;table id="printoutertab"&gt;
   &lt;thead&gt;
    &lt;tr&gt;
     &lt;th&gt;&lt;script type="text/javascript"&gt;if (navigator.appName=="Microsoft Internet Explorer") {document.write("Überschrift 1")} else {document.write("&lt;table&gt;&lt;tr&gt;&lt;td class='z1'&gt;Überschrift 1&lt;/td&gt;&lt;td class='z2'&gt;Überschrift 2&lt;/td&gt;&lt;td class='z3'&gt;Überschrift 3&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;");}&lt;/script&gt;&lt;/th&gt;
     &lt;th&gt;&lt;script type="text/javascript"&gt;if (navigator.appName=="Microsoft Internet Explorer") {document.write("Überschrift 2")} else {document.write("&amp;nbsp;");} &lt;/script&gt;&lt;/th&gt;
     &lt;th&gt;&lt;script type="text/javascript"&gt;if (navigator.appName=="Microsoft Internet Explorer") {document.write("Überschrift 3")} else {document.write("&amp;nbsp;");} &lt;/script&gt;&lt;/th&gt;
    &lt;/tr&gt;
   &lt;/thead&gt;
   &lt;tfoot&gt;
    &lt;tr&gt;
     &lt;th&gt;&lt;script type="text/javascript"&gt;if (navigator.appName=="Microsoft Internet Explorer") {document.write("Fußnote 1")} else {document.write("&lt;table&gt;&lt;tr&gt;&lt;td class='z1'&gt;Fußnote 1&lt;/td&gt;&lt;td class='z2'&gt;Fußnote 2&lt;/td&gt;&lt;td class='z3'&gt;Fußnote 3&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;");}&lt;/script&gt;&lt;/th&gt;
     &lt;th&gt;&lt;script type="text/javascript"&gt;if (navigator.appName=="Microsoft Internet Explorer") {document.write("Fußnote 2")} else {document.write("&amp;nbsp;");} &lt;/script&gt;&lt;/th&gt;
     &lt;th&gt;&lt;script type="text/javascript"&gt;if (navigator.appName=="Microsoft Internet Explorer") {document.write("Fußnote 3")} else {document.write("&amp;nbsp;");} &lt;/script&gt;&lt;/th&gt;
    &lt;/tr&gt;
   &lt;/tfoot&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Zelle 1&lt;/td&gt;
&lt;td&gt;Zelle 2&lt;/td&gt;
&lt;td&gt;Zelle 3&lt;/td&gt;
&lt;/tr&gt;
........
........
........
&lt;/tbody&gt;
&lt;/table&gt;

&lt;/body&gt;
&lt;/html&gt;</pre>
</div>
<p>Wir schauen uns nun gemeinsam noch ein allerletztes Mal die Ergebnisse der unterschiedlichen Browser an.</p>
<p>Um es gleich vorweg zu nehmen. Dem Internet Explorer wird man den korrekten Seitenumbruch nicht beibringen können. Auch ein page-break-after bzw. page-break-before ist hier sinnlos. Der Internet Explorer schafft es einfach nicht.</p>
<p><span style="font-size: 8px;">Screenshot Firefox:</span></p>
<div id="attachment_371" class="wp-caption alignnone" style="width: 287px"><img class="size-medium wp-image-371" title="tbody Tabelle in Firefox ausgedruckt" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw6_1_ff-277x300.jpg" alt="tbody Tabelle in Firefox ausgedruckt" width="277" height="300" /><p class="wp-caption-text">tbody Tabelle in Firefox ausgedruckt</p></div>
<p><span style="font-size: 8px;">Screenshot Firefox:</span></p>
<div id="attachment_372" class="wp-caption alignnone" style="width: 290px"><img class="size-medium wp-image-372" title="tbody Tabelle mit Seitenumbruch in Firefox ausgedruckt" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw6_2_ff-280x300.jpg" alt="tbody Tabelle mit Seitenumbruch in Firefox ausgedruckt" width="280" height="300" /><p class="wp-caption-text">tbody Tabelle mit Seitenumbruch in Firefox ausgedruckt</p></div>
<p>Im Opera sieht es nun ebenfalls annehmbar aus:<br />
<span style="font-size: 8px;"> </span></p>
<p><span style="font-size: 8px;">Screenshot Opera:</span></p>
<div id="attachment_388" class="wp-caption alignnone" style="width: 243px"><img class="size-medium wp-image-388" title="tbody Tabellen Ausdruck im Opera Browser" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw6_1_op-233x300.jpg" alt="tbody Tabellen Ausdruck im Opera Browser" width="233" height="300" /><p class="wp-caption-text">tbody Tabellen Ausdruck im Opera Browser</p></div>
<p><span style="font-size: 8px;">Screenshot Opera:</span></p>
<div id="attachment_389" class="wp-caption alignnone" style="width: 301px"><img class="size-medium wp-image-389" title="tbody Tabelle - Seitenwechsel ausgedruckt im Opera " src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw6_2_op-291x300.jpg" alt="tbody Tabelle - Seitenwechsel ausgedruckt im Opera " width="291" height="300" /><p class="wp-caption-text">tbody Tabelle - Seitenwechsel ausgedruckt im Opera </p></div>
<p>Auch wenn es uns nun nicht gelungen ist, dem Opera Browser es beizubringen, daß thead und tfoot auf jeder Seite wiederholt werden sollten, haben wir ein ansehnliches Ergebnis erreicht. Das Ende der Tabelle wir nun auch richtig berechnet und nicht mitten in die Tabelle gesetzt.</p>
<p>Abschließend betrachten wir noch das Ergebnis im Internet Explorer. Hier ist leider nichts mehr zu machen.<br />
Der Fehler beim Seitenübergang ist nicht in den Griff zu bekommen. Angeblich soll Microsoft einen Patch für den Internet Explorer haben. Gefunden habe ich dazu allerdings leider nichts.</p>
<p><span style="font-size: 8px;">Screenshot Internet Explorer:</span></p>
<div id="attachment_390" class="wp-caption alignnone" style="width: 289px"><img class="size-medium wp-image-390" title="tbody Tabelle im Internet Explorer ausgedruckt" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw6_1_ie-279x300.jpg" alt="tbody Tabelle im Internet Explorer ausgedruckt" width="279" height="300" /><p class="wp-caption-text">tbody Tabelle im Internet Explorer ausgedruckt</p></div>
<p><span style="font-size: 8px;">Screenshot Internet Explorer:</span></p>
<div id="attachment_391" class="wp-caption alignnone" style="width: 284px"><img class="size-medium wp-image-391" title="tbody Tabelle Seitenwechsel im Internet Explorer ausgedruckt" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw6_2_ie-274x300.jpg" alt="tbody Tabelle Seitenwechsel im Internet Explorer ausgedruckt" width="274" height="300" /><p class="wp-caption-text">tbody Tabelle Seitenwechsel im Internet Explorer ausgedruckt</p></div>
<p>Für dieses Tutorial sind so manche Kopfhaare ergraut. Ich glaube hier kann man überdeutlich sehen, wie komplex Internet Seiten Entwicklung sein kann, da es manchmal kein Patentrezept gibt und einem die Entwickler der Browser auch die eine oder andere Stolperfalle vor die Füsse werfen. Schade eigentlich. Es soll doch ein einheitlicher Standard geschaffen werden?! Davon sind wir noch meilenweit entfernt. Inzwischen startet CSS mit der dritten Generation. Befehle a la page-break-after sollten seit CSS 2.1 Standard sein. Obwohl man die aktuellsten Broser verwendet, kommt man bei so simplen Dingen wie dem Ausdrucken einer Tabelle ins straucheln.</p>
<p>Trotz allem sind wir mit dem Entwickeln von Tabellen noch nicht fertig. Hierzu werden noch ein paar Tutorials folgen.</p>


<p>Related posts:<ol><li><a href='http://www.tutorialwelt.de/319/html-tabellen-tbody-scrollen-und-korrekt-ausdrucken-teil-1.htm' rel='bookmark' title='Permanent Link: HTML Tabellen tbody scrollen und korrekt ausdrucken Teil 1'>HTML Tabellen tbody scrollen und korrekt ausdrucken Teil 1</a> <small>Im letzten Tutorial habe ich Euch gezeigt, wie man bei...</small></li>
<li><a href='http://www.tutorialwelt.de/251/cellpadding-cellspacing.htm' rel='bookmark' title='Permanent Link: Tabellen in HTML &#8211; Teil 3 Cellpadding und Cellspacing'>Tabellen in HTML &#8211; Teil 3 Cellpadding und Cellspacing</a> <small>In diesem Tutorial möchte ich mich mit Abständen innerhalb der...</small></li>
<li><a href='http://www.tutorialwelt.de/210/tabellen-in-html-tutorial-2-der-rahmen.htm' rel='bookmark' title='Permanent Link: Tabellen in HTML &#8211; Tutorial 2 der Rahmen'>Tabellen in HTML &#8211; Tutorial 2 der Rahmen</a> <small>...Im letzten Tutorial habe ich erklärt, wie man die Rahmendicke...</small></li>
</ol></p>
<p>Ähnliche Artikel bereitgestellt von <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.tutorialwelt.de/377/html-tabellen-tbody-scrollen-und-korrekt-ausdrucken-teil-2.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Tabellen tbody scrollen und korrekt ausdrucken Teil 1</title>
		<link>http://www.tutorialwelt.de/319/html-tabellen-tbody-scrollen-und-korrekt-ausdrucken-teil-1.htm</link>
		<comments>http://www.tutorialwelt.de/319/html-tabellen-tbody-scrollen-und-korrekt-ausdrucken-teil-1.htm#comments</comments>
		<pubDate>Sat, 17 Oct 2009 04:29:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[CSS-Tutorial]]></category>
		<category><![CDATA[HTML-Tabellen]]></category>
		<category><![CDATA[HTML-Tutorial]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[tbody Tabellen]]></category>
		<category><![CDATA[tbody Tabellen ausdrucken]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.tutorialwelt.de/?p=319</guid>
		<description><![CDATA[Im letzten <a href="http://www.tutorialwelt.de/312/tabellen-nur-tbody-scrollen.htm">Tutorial</a> habe ich Euch gezeigt, wie man bei <strong>Tabellen in HTML</strong> den TBody Bereich scrollen kann, während thead und tfoot stehen bleiben. Das funktioniert in allen gängigen Browsern (<strong>auch dem Internet Explorer</strong>). Mit dieser Methode ist allerdings ein lesbarer Ausdruck der Tabelle nicht möglich.

Letztlich wird nur ein Screenshot der Tabelle auf Papier gebracht....


Related posts:<ol><li><a href='http://www.tutorialwelt.de/377/html-tabellen-tbody-scrollen-und-korrekt-ausdrucken-teil-2.htm' rel='bookmark' title='Permanent Link: HTML Tabellen tbody scrollen und korrekt ausdrucken Teil 2'>HTML Tabellen tbody scrollen und korrekt ausdrucken Teil 2</a> <small>In unserem vorherigen Tutorial hatten wir zuletzt mehrere Probleme: Opera...</small></li>
<li><a href='http://www.tutorialwelt.de/251/cellpadding-cellspacing.htm' rel='bookmark' title='Permanent Link: Tabellen in HTML &#8211; Teil 3 Cellpadding und Cellspacing'>Tabellen in HTML &#8211; Teil 3 Cellpadding und Cellspacing</a> <small>In diesem Tutorial möchte ich mich mit Abständen innerhalb der...</small></li>
<li><a href='http://www.tutorialwelt.de/210/tabellen-in-html-tutorial-2-der-rahmen.htm' rel='bookmark' title='Permanent Link: Tabellen in HTML &#8211; Tutorial 2 der Rahmen'>Tabellen in HTML &#8211; Tutorial 2 der Rahmen</a> <small>...Im letzten Tutorial habe ich erklärt, wie man die Rahmendicke...</small></li>
</ol>

Ähnliche Artikel bereitgestellt von <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<h1 style="font-size:16px;">HTML Tabellen tbody scrollen und korrekt ausdrucken</h1>
<p>Im letzten <a href="http://www.tutorialwelt.de/312/tabellen-nur-tbody-scrollen.htm">Tutorial</a> habe ich Euch gezeigt, wie man bei <strong>Tabellen in HTML</strong> den TBody Bereich scrollen kann, während thead und tfoot stehen bleiben. Das funktioniert in allen gängigen Browsern (<strong>auch dem Internet Explorer</strong>). Mit dieser Methode ist allerdings ein lesbarer Ausdruck der Tabelle nicht möglich.</p>
<p>Letztlich wird nur ein Screenshot der Tabelle auf Papier gebracht. Das Ergebnis sieht folgendermaßen aus:</p>
<p><span style="font-size: 8px;">Screenshot Firefox:</span></p>
<div id="attachment_336" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-336" title="Tbody Tabelle Ausdruck 1 im Firefox" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw1_ff-300x247.jpg" alt="Tbody Tabelle Ausdruck 1 im Firefox" width="300" height="247" /><p class="wp-caption-text">Tbody Tabelle Ausdruck 1 im Firefox</p></div>
<p><span style="font-size: 8px;">Screenshot Opera:</span></p>
<div id="attachment_337" class="wp-caption alignnone" style="width: 225px"><img class="size-medium wp-image-337" title="Tbody Tabelle Ausdruck 1 im Opera" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw1_op-215x300.jpg" alt="Tbody Tabelle Ausdruck 1 im Opera" width="215" height="300" /><p class="wp-caption-text">Tbody Tabelle Ausdruck 1 im Opera</p></div>
<p><span style="font-size: 8px;">Screenshot Internet Explorer:</span></p>
<div id="attachment_338" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-338" title="Tbody Tabelle Ausdruck 1 im Internet Explorer" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw1_ie-300x265.jpg" alt="Tbody Tabelle Ausdruck 1 im Internet Explorer" width="300" height="265" /><p class="wp-caption-text">Tbody Tabelle Ausdruck 1 im Internet Explorer</p></div>
<p>Das ist nicht unser Ziel. Wir wollen den Besuchern schließlich auch den Ausdruck unserer Informationen ermöglichen. Dieses Tutorial ist eines der umfassendsten zu diesem Thema im Web. Ihr werdet Euch wundern, wie komplex es sein kann, für die drei großen Browser ein annehmbares Ergebnis hinzubekommen. Hierzu werden wir CSS und Javascript einsetzen müssen. Doch dazu später mehr.</p>
<p>Diesmal werden wir den CSS Code in externe Dateien auslagern.<br />
Wir werden eine CSS Datei für die normale Ansicht im Browser erstellen und eine weitere CSS-Datei für den Drucker. Für die Anzeige im Browser verwenden wir wieder die Tabelle aus dem vorangegangenen Tutorial.</p>
<p>Wir nehmen zuerst die Tabelle aus dem <a href="http://www.tutorialwelt.de/312/tabellen-nur-tbody-scrollen.htm">vorangegangenen Tabellen-Tutorial</a> als Grundlage.</p>
<p>Wir kopieren den CSS Code und fügen ihn in eine CSS Datei ein:</p>
<p><small>Beispielcode screen.css:</small></p>
<div style="border-style: inset; border-color: #a39c87 #a39c87 #e0d7b9 #e0d7b9; padding: 10px; overflow: auto; width: 100%; background-color: #f4f0e2;">
<pre>  #screenoutertab {
      border: 1px #000000 solid;
      position: absolute;
      top: 20px;
      left: 20px;
      width:70%;
      height: 400px;
      }
  #innerdiv {
      width: 100%;
      height: 330px;
      overflow:auto;
      }
  #screeninnertab {
      border: 0px;
      width:  100%;
      height: 330px;
      }
  #screeninnertab td{
      border: 1px #000000 solid;
      }
  th+th+th {width:34%;}
  td+td {width:34%;}</pre>
</div>
<p>Diese screen.css binden wir per link rel in unsere HTML-Datei ein. Von @import ist abzuraten (siehe folgendes Tutorial: <a title="css Tutorial Einbindung per link rel oder @import" href="http://www.tutorialwelt.de/325/css-tutorial-link-rel-import.htm">CSS-Tutorial Einbindung per link rel oder @import</a>)</p>
<p><small>Beispielcode HTML:</small></p>
<div style="border-style: inset; border-color: #a39c87 #a39c87 #e0d7b9 #e0d7b9; padding: 10px; overflow: auto; width: 100%; background-color: #f4f0e2;">
<pre>&lt;html&gt;
 &lt;head&gt;
  &lt;link rel="stylesheet" media="screen" href="screen.css"&gt;
 &lt;/head&gt;
 &lt;body&gt;
  &lt;table id="screenoutertab"&gt;
   &lt;thead&gt;
    &lt;tr&gt;
     &lt;th&gt;Überschrift 1&lt;/th&gt;
     &lt;th&gt;Überschrift 2&lt;/th&gt;
     &lt;th&gt;Überschrift 3&lt;/th&gt;
    &lt;/tr&gt;
   &lt;/thead&gt;
   &lt;tfoot&gt;
    &lt;tr&gt;
     &lt;th&gt;Fußnote 1&lt;/th&gt;
     &lt;th&gt;Fußnote 2&lt;/th&gt;
     &lt;th&gt;Fußnote 3&lt;/th&gt;
    &lt;/tr&gt;
   &lt;/tfoot&gt;
   &lt;tbody&gt;
    &lt;tr&gt;
     &lt;td colspan="3"&gt;
       &lt;div id="innerdiv"&gt;
          &lt;table id="screeninnertab"&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
          &lt;/table&gt;
       &lt;/div&gt;
     &lt;/td&gt;
    &lt;/tr&gt;
    &lt;/tbody&gt;
   &lt;/table&gt;
  &lt;/body&gt;
 &lt;/html&gt;</pre>
</div>
<p>Ich habe nun absichtlich noch viele weitere Zeilen eingefügt. Wir wollen scrollen&#8230; Nicht nur am Monitor, sondern auch beim Ausdruck.</p>
<p>Wir hängen nun folgende Tabelle an die bereits bestehende mit an:</p>
<p><small>Beispielcode HTML:</small></p>
<div style="border-style: inset; border-color: #a39c87 #a39c87 #e0d7b9 #e0d7b9; padding: 10px; overflow: auto; background-color: #f4f0e2;">
<pre>&lt;html&gt;
 &lt;head&gt;
  &lt;link rel="stylesheet" media="screen" href="screen.css"&gt;
 &lt;/head&gt;
 &lt;body&gt;
  &lt;table id="screenoutertab"&gt;
   &lt;thead&gt;
    &lt;tr&gt;
     &lt;th&gt;Überschrift 1&lt;/th&gt;
     &lt;th&gt;Überschrift 2&lt;/th&gt;
     &lt;th&gt;Überschrift 3&lt;/th&gt;
    &lt;/tr&gt;
   &lt;/thead&gt;
   &lt;tfoot&gt;
    &lt;tr&gt;
     &lt;th&gt;Fußnote 1&lt;/th&gt;
     &lt;th&gt;Fußnote 2&lt;/th&gt;
     &lt;th&gt;Fußnote 3&lt;/th&gt;
    &lt;/tr&gt;
   &lt;/tfoot&gt;
   &lt;tbody&gt;
    &lt;tr&gt;
     &lt;td colspan="3"&gt;
       &lt;div id="innerdiv"&gt;
          &lt;table id="screeninnertab"&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
          &lt;/table&gt;
       &lt;/div&gt;
     &lt;/td&gt;
    &lt;/tr&gt;
    &lt;/tbody&gt;
   &lt;/table&gt;

  &lt;table id="printtab"&gt;
   &lt;thead&gt;
    &lt;tr&gt;
     &lt;th&gt;Überschrift 1&lt;/th&gt;
     &lt;th&gt;Überschrift 2&lt;/th&gt;
     &lt;th&gt;Überschrift 3&lt;/th&gt;
    &lt;/tr&gt;
   &lt;/thead&gt;
   &lt;tfoot&gt;
    &lt;tr&gt;
     &lt;th&gt;Fußnote 1&lt;/th&gt;
     &lt;th&gt;Fußnote 2&lt;/th&gt;
     &lt;th&gt;Fußnote 3&lt;/th&gt;
    &lt;/tr&gt;
   &lt;/tfoot&gt;
   &lt;tbody&gt;
    &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
    &lt;/tr&gt;
    &lt;/tbody&gt;
   &lt;/table&gt;

  &lt;/body&gt;
 &lt;/html&gt;</pre>
</div>
<p>Zu der zweiten Tabelle müssen wir ebenfalls eine CSS erstellen:</p>
<p><small>Beispielcode print.css:</small></p>
<div style="border-style: inset; border-color: #a39c87 #a39c87 #e0d7b9 #e0d7b9; padding: 10px; overflow: auto; width: 100%; background-color: #f4f0e2;">
<pre> #printoutertab {
      border: 1px #000000 solid;
      position: absolute;
      top: 10px;
      left: 10px;
      width:100%;
      height: 400px;
      }

  #screenoutertab {
          visibility:hidden;
      }

  th+th+th {width:34%;}
  td+td {width:34%;}</pre>
</div>
<p>In der print.css habe ich nun den Befehl visibility: hidden eingefügt. Dieser Befehl blendet den dazugehörigen Bereich aus. Sobald also die Tabelle ausgedruckt werden soll, wird die print.css geladen und die screenoutertab nicht mehr angezeigt.</p>
<p>Nun sollten wir das gleiche (im umgekehrten Sinn) für die printoutertab in der screen.css machen:</p>
<p><small>Beispielcode screen.css:</small></p>
<div style="border-style: inset; border-color: #a39c87 #a39c87 #e0d7b9 #e0d7b9; padding: 10px; overflow: auto; width: 100%; background-color: #f4f0e2;">
<pre>#screenoutertab {
      border: 1px #000000 solid;
      position: absolute;
      top: 20px;
      left: 20px;
      width:70%;
      height: 400px;
      }
  #innerdiv {
      width: 100%;
      height: 330px;
      overflow:auto;
      }
  #screeninnertab {
      border: 0px;
      width:  100%;
      height: 330px;
      }
  #screeninnertab td{
      border: 1px #000000 solid;
      }
  th+th+th {width:34%;}
  td+td {width:34%;}

  #printoutertab {
      visibility: hidden;
      }</pre>
</div>
<p>Und diese CSS wieder per link rel einbinden. Ich werde nun die screenouterTab-Tabelle nicht mehr ausführlich im Code anzeigen. Es wird sich an dieser Tabelle nichts mehr im Verlauf des Tutorials ändern. Ebenfalls werde ich den tbody Bereich kürzen. Auch hier wird sich nichts mehr ändern.</p>
<p><small>Beispielcode HTML:</small></p>
<div style="border-style: inset; border-color: #a39c87 #a39c87 #e0d7b9 #e0d7b9; padding: 10px; overflow: auto; width: 100%; background-color: #f4f0e2;">
<pre>&lt;html&gt;
 &lt;head&gt;
  &lt;link rel="stylesheet" media="screen" href="screen.css"&gt;
  &lt;link rel="stylesheet" media="print" href="print.css"&gt;
 &lt;/head&gt;
 &lt;body&gt;
  &lt;table id="screenoutertab"&gt;
    ..........
   &lt;/table&gt;

  &lt;table id="printoutertab"&gt;
   &lt;thead&gt;
    &lt;tr&gt;
     &lt;th&gt;Überschrift 1&lt;/th&gt;
     &lt;th&gt;Überschrift 2&lt;/th&gt;
     &lt;th&gt;Überschrift 3&lt;/th&gt;
    &lt;/tr&gt;
   &lt;/thead&gt;
   &lt;tfoot&gt;
    &lt;tr&gt;
     &lt;th&gt;Fußnote 1&lt;/th&gt;
     &lt;th&gt;Fußnote 2&lt;/th&gt;
     &lt;th&gt;Fußnote 3&lt;/th&gt;
    &lt;/tr&gt;
   &lt;/tfoot&gt;
   &lt;tbody&gt;
           &lt;tr&gt;
             &lt;td&gt;Zelle 1&lt;/td&gt;
             &lt;td&gt;Zelle 2&lt;/td&gt;
             &lt;td&gt;Zelle 3&lt;/td&gt;
            &lt;/tr&gt;
            ........
            ........
            ........
    &lt;/tbody&gt;
   &lt;/table&gt;

  &lt;/body&gt;
 &lt;/html&gt;</pre>
</div>
<p>Nun werden wir die ersten Erfahrungen mit den Eigenarten der unterschiedlichen Browser machen.</p>
<p><strong>Um dieses Tutorial mit möglichst wenig Druckerfarbe und Papier absolvieren zu können, empfehle ich die Druckvoransicht zu wählen oder den PDF Creator zu installieren.</strong> Ihr könnt ihn <a title="PDF Creator download" href="http://www.pdfforge.org/">hier</a> herunterladen.<br />
Mit dem PDF-Creator ist es möglich, Internet Seiten als PDF-Datei abzuspeichern. Das Abspeichern als PDF-Dokument wird über das Druckermenü durchgeführt. Man wählt anstelle des Druckers den PDF Creator aus. Das Ergebnis des Druckers gleicht dem des PDF-Creators.</p>
<p>Schaut sich man nun das erste Ergebnis in den verschiedenen Browsern an, wird man schnell feststellen, daß das Ergebnis nicht einmal annähernd zufriedenstellend ist.</p>
<p>Hierzu mal drei Screenshots:</p>
<p><span style="font-size: 8px;">Screenshot Firefox:</span></p>
<div id="attachment_339" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-339" title="Tbody Tabellenausdruck im Firefox" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw2_1_ff-300x217.jpg" alt="Tbody Tabellenausdruck im Firefox" width="300" height="217" /><p class="wp-caption-text">Tbody Tabellenausdruck im Firefox</p></div>
<p>Soweit sieht das Ergebnis noch in Ordnung aus. Schauen wir uns nun den Übergang von Seite 1 zu Seite 2 an:<br />
<span style="font-size: 8px;"> </span></p>
<p><span style="font-size: 8px;">Screenshot Firefox:</span></p>
<div id="attachment_340" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-340" title="Tbody-Tabellenausdruck im Firefox Zwischenschritt 1" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw2_2_ff-300x208.jpg" alt="Tbody-Tabellenausdruck im Firefox Zwischenschritt 1" width="300" height="208" /><p class="wp-caption-text">Tbody-Tabellenausdruck im Firefox Zwischenschritt 1</p></div>
<p>Hier kann man nun schon den ersten Fehler feststellen: Am Ende der ersten Seite wurde der Tfoot Bereich nicht wiederholt. Im Firefox Browser werden wir dies in den Griff bekommen. Im Opera sowie im Internet Explorer wird dies nicht unser einziges Problem sein.</p>
<p>Schauen wir uns nun die Ergebnisse im Internet Explorer an:</p>
<p><span style="font-size: 8px;">Screenshot Internet Explorer:</span></p>
<div id="attachment_342" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-342" title="Tbody Tabellenausdruck im Internet Explorer" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw2_1_ie-300x220.jpg" alt="Tbody Tabellenausdruck im Internet Explorer" width="300" height="220" /><p class="wp-caption-text">Tbody Tabellenausdruck im Internet Explorer</p></div>
<p>Auch hier sieht es zu Beginn noch ganz gut aus.</p>
<p>Schauen wir uns nun den Übergang zischen Blatt 1 und Blatt 2 an:</p>
<p><span style="font-size: 8px;"> </span></p>
<p><span style="font-size: 8px;">Screenshot Internet Explorer:</span></p>
<div id="attachment_343" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-343" title="Tbody Tabellenausdruck im Internet Explorer" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw2_2_ie-300x221.jpg" alt="Tbody Tabellenausdruck im Internet Explorer" width="300" height="221" /><p class="wp-caption-text">Tbody Tabellenausdruck im Internet Explorer</p></div>
<p>Auch hier wieder fehlt der Tfoot Bereich auf Seite 1. Doch das ist nicht alles beim Internet Explorer. Auf Seite 2 fehlt der thead Bereich. Und man kann ganz deutlich erkennen, daß der Internet Explorer innerhalb der Zeile den Seitenumbruch gemacht hat. Das ist ein ganz grober unschöner Fehler.</p>
<p>Zuletzt schauen wir uns das Ergebnis in Opera an:<br />
<span style="font-size: 8px;"> </span></p>
<p><span style="font-size: 8px;">Screenshot Opera:</span></p>
<div id="attachment_344" class="wp-caption alignnone" style="width: 149px"><img class="size-medium wp-image-344" title="Tbody Tabellenausdruck in Opera" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw2_1_op-139x300.jpg" alt="Tbody Tabellenausdruck in Opera" width="139" height="300" /><p class="wp-caption-text">Tbody Tabellenausdruck in Opera</p></div>
<p>Als erstes fällt einem Betrachter bei diesem Screenshot auf, daß sich die Tabelle (im Vergleich zu Firefox und Internet Explorer) nicht über die komplette Breite der Seite erstreckt. Die Tabelle ist zusammengestaucht.</p>
<p>Schauen wir uns nun den Übergang von Seite 1 zu Seite 2 im Opera an:<br />
<span style="font-size: 8px;"> </span></p>
<p><span style="font-size: 8px;">Screenshot Opera:</span></p>
<div id="attachment_345" class="wp-caption alignnone" style="width: 173px"><img class="size-medium wp-image-345" title="Tbody Tabellenausdruck im Opera" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw2_2_op-163x300.jpg" alt="Tbody Tabellenausdruck im Opera" width="163" height="300" /><p class="wp-caption-text">Tbody Tabellenausdruck im Opera</p></div>
<p>Im Opera wird es nun ganz schlimm. Auch hier fehlen wieder der tfoot Bereich am Ende von Seite 1 sowie der thead Bereich am Anfang von Seite 2. Doch das ist nicht alles. Opera ist ohne Hilfe nicht in der Lage, das Ende der Tabelle korrekt zu berrechnen (sobald mindestens ein Seitenwechsel vorhanden ist. Das Ende wird dann von Opera einfach mitten in die Tabelle gesetzt.</p>
<p>Bei dieser Fülle von Fehlern in den unterschiedlichen Browsern kann man sich überhaut nicht vorstelle, daß man ein einigermaßen akzeptables Ergebnis erzielen kann. Wir werden es versuchen. Es wird nicht perfekt, aber es wird das beste Ergebnis sein, das man erzielen kann.</p>
<p>Beginnen wir nun mit der Breite der Tabelle in Opera.</p>
<p>Dazu werden wir nun die print.css abändern.</p>
<p>Von der printoutertab löschen wir die Breiten und die Höhenangabe width und height.<br />
Wir löschen ebenfalls die Breitenangabe von th+th+th und td+td.</p>
<p>Dafür fügen wir folgende Breitenangabe ein:<br />
#printoutertab tbody td {width: 400px;}<br />
Hiermit legen wir fest, daß alle td Zellen der printoutertab Tabelle 400 Pixel breit sein sollen.<br />
Eine breite von 400 Pixeln ist für drei Spalten ein optisch sehr gut aussehendes Ergebnis.</p>
<p><small>Beispielcode print.css:</small></p>
<div style="border-style: inset; border-color: #a39c87 #a39c87 #e0d7b9 #e0d7b9; padding: 10px; overflow: auto; width: 100%; background-color: #f4f0e2;">
<pre>#printoutertab {
      border: 1px #000000 solid;
      position: absolute;
      top: 10px;
      left: 10px;
      }

  #screenoutertab {
          visibility:hidden;
      }

  #printoutertab tbody td {width: 400px;}</pre>
</div>
<p>Und schon haben wir das erste Problem gelöst.</p>
<p>Hier die Screenshots:</p>
<p><span style="font-size: 8px;">Screenshot Opera:</span></p>
<div id="attachment_350" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-350" title="Tabellenausdruck tbody im Opera" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw3_1_op-300x193.jpg" alt="Tabellenausdruck tbody im Opera" width="300" height="193" /><p class="wp-caption-text">Tabellenausdruck tbody im Opera</p></div>
<p>Der Fehler am Ende der Tabelle besteht allerdings weiterhin:</p>
<p><span style="font-size: 8px;">Screenshot Opera:</span></p>
<div id="attachment_351" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-351" title="tbody Tabelle Ausdruck Seitenwechsel im Opera Browser" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw3_2_op-300x178.jpg" alt="tbody Tabelle Ausdruck Seitenwechsel im Opera Browser" width="300" height="178" /><p class="wp-caption-text">tbody Tabelle Ausdruck Seitenwechsel im Opera Browser</p></div>
<p><span style="font-size: 8px;">Screenshot Firefox:</span></p>
<div id="attachment_348" class="wp-caption alignnone" style="width: 295px"><img class="size-medium wp-image-348" title="Tbody Tabellenausdruck im Firefox" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw3_1_ff-285x300.jpg" alt="Tbody Tabellenausdruck im Firefox" width="285" height="300" /><p class="wp-caption-text">Tbody Tabellenausdruck im Firefox</p></div>
<p>Und der Übergang von Seite 1 zu Seite 2:<br />
<span style="font-size: 8px;"> </span></p>
<p><span style="font-size: 8px;">Screenshot Firefox:</span></p>
<div id="attachment_349" class="wp-caption alignnone" style="width: 292px"><img class="size-medium wp-image-349" title="Ausdruck einer tbody Tabelle im Firefox Seitenwechsel" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw3_2_ff-282x300.jpg" alt="Ausdruck einer tbody Tabelle im Firefox Seitenwechsel" width="282" height="300" /><p class="wp-caption-text">Ausdruck einer tbody Tabelle im Firefox Seitenwechsel</p></div>
<p>Zu guter letzt wollen wir uns nochmal das Ergebnis im Internet Explorer ansehen:<br />
<span style="font-size: 8px;"> </span></p>
<p><span style="font-size: 8px;">Screenshot Internet Explorer:</span></p>
<div id="attachment_353" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-353" title="tbody Tabelle im Internet Explorer ausgedruckt" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw3_1_ie-300x252.jpg" alt="tbody Tabelle im Internet Explorer ausgedruckt" width="300" height="252" /><p class="wp-caption-text">tbody Tabelle im Internet Explorer ausgedruckt</p></div>
<p>Und beim Seitenumbruch haben wir das gleiche Problem wie zuvor:<br />
<span style="font-size: 8px;">Screenshot Internet Explorer:</span></p>
<div id="attachment_354" class="wp-caption alignnone" style="width: 296px"><img class="size-medium wp-image-354" title="tbody Tabelle im Internet Explorer ausgedruckt" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw3_2_ie-286x300.jpg" alt="tbody Tabelle im Internet Explorer ausgedruckt" width="286" height="300" /><p class="wp-caption-text">tbody Tabelle im Internet Explorer ausgedruckt</p></div>
<p>Als nächstes nehmen wir uns das falsch berechnete Ende im Opera Browser vor:<br />
Wir fügen folgende Codezeile in unsere print.css ein:   tbody tr {display: table-row-group;}<br />
Zur Erklärung: Offiziell heißt es, man könne die bestehenden Probleme mit folgenden drei Zeilen in den Griff bekommen:<br />
thead {display: table-header-group;}<br />
tfoot {display: table-footer-group;}<br />
tbody {display: table-row-group;}</p>
<p>Diese display-Befehle fassen die Zellen zu einer Gruppe zusammen. Die Probleme wären angeblich damit beseitigt.<br />
Ich habe sehr lange mit diesen Befehlen herumexperimentiert und kein einziges, alle drei Browser bedienendes Ergebnis erzielen können.</p>
<p>Habe ich allerdings NUR tbody tr {display: table-row-group;} eingefügt, kam ich meinem Wunschergebnis um einiges näher. Allerdings hat sich hier noch ein Opera Bug mit eingeschlichen, den ich Euch gleich zeigen werde.</p>
<p>Demzufolge sieht die print.css nun folgendermaßen aus:</p>
<p><small>Beispielcode print.css:</small></p>
<div style="border-style: inset; border-color: #a39c87 #a39c87 #e0d7b9 #e0d7b9; padding: 10px; overflow: auto; width: 100%; background-color: #f4f0e2;">
<pre>#printoutertab {
      border: 1px #000000 solid;
      position: absolute;
      top: 10px;
      left: 10px;
      }

  #screenoutertab {
          visibility:hidden;
      }

  #printoutertab tbody td {width: 220px;}
  tbody tr {display: table-row-group;}</pre>
</div>
<p>Ihr werdet gleich erschrecken. Nun sieht das Ganze sehr schlimm aus (und dennoch sind wir auf dem richtigen Weg:</p>
<p><span style="font-size: 8px;">Screenshot Opera:</span></p>
<div id="attachment_359" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-359" title="tbody Tabelle mit table-row-group Ausdruck im Opera" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw4_1_op-300x253.jpg" alt="tbody Tabelle mit table-row-group Ausdruck im Opera" width="300" height="253" /><p class="wp-caption-text">tbody Tabelle mit table-row-group Ausdruck im Opera</p></div>
<p><span style="font-size: 8px;">Screenshot Opera:</span></p>
<div id="attachment_360" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-360" title="tbody Tabelle mit table-row-group Ausdruck beim Seitenumbruch im Opera" src="http://www.tutorialwelt.de/wp-content/uploads/2009/10/zw4_2_op-300x165.jpg" alt="tbody Tabelle mit table-row-group Ausdruck beim Seitenumbruch im Opera" width="300" height="165" /><p class="wp-caption-text">tbody Tabelle mit table-row-group Ausdruck beim Seitenumbruch im Opera</p></div>
<p>Jetzt ist das Ende der Tabelle richtig berechnet. Allerdings sind nun alle Zellen des tbody Bereichs in die erste Spalte gesetzt worden. Die erste Spalte wurde sehr breit und die anderen beiden viel zu schmal.<br />
Schaut Euch mal die erste Zeile der zeiten Seite an. Hier wurde nur der Wert der ersten Zelle ausgegeben. Die beiden anderen Zellen sind leer.</p>
<p>Diesem Problem gehen wir im nächsten Tutorial auf den Grund.</p>


<p>Related posts:<ol><li><a href='http://www.tutorialwelt.de/377/html-tabellen-tbody-scrollen-und-korrekt-ausdrucken-teil-2.htm' rel='bookmark' title='Permanent Link: HTML Tabellen tbody scrollen und korrekt ausdrucken Teil 2'>HTML Tabellen tbody scrollen und korrekt ausdrucken Teil 2</a> <small>In unserem vorherigen Tutorial hatten wir zuletzt mehrere Probleme: Opera...</small></li>
<li><a href='http://www.tutorialwelt.de/251/cellpadding-cellspacing.htm' rel='bookmark' title='Permanent Link: Tabellen in HTML &#8211; Teil 3 Cellpadding und Cellspacing'>Tabellen in HTML &#8211; Teil 3 Cellpadding und Cellspacing</a> <small>In diesem Tutorial möchte ich mich mit Abständen innerhalb der...</small></li>
<li><a href='http://www.tutorialwelt.de/210/tabellen-in-html-tutorial-2-der-rahmen.htm' rel='bookmark' title='Permanent Link: Tabellen in HTML &#8211; Tutorial 2 der Rahmen'>Tabellen in HTML &#8211; Tutorial 2 der Rahmen</a> <small>...Im letzten Tutorial habe ich erklärt, wie man die Rahmendicke...</small></li>
</ol></p>
<p>Ähnliche Artikel bereitgestellt von <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.tutorialwelt.de/319/html-tabellen-tbody-scrollen-und-korrekt-ausdrucken-teil-1.htm/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cookies von Iframes im Internet Explorer</title>
		<link>http://www.tutorialwelt.de/174/cookies-von-iframes-im-internet-explorer.htm</link>
		<comments>http://www.tutorialwelt.de/174/cookies-von-iframes-im-internet-explorer.htm#comments</comments>
		<pubDate>Fri, 28 Aug 2009 13:06:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ajax Chat]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Cookies]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.tutorialwelt.de/?p=174</guid>
		<description><![CDATA[...Hierbei geht es um den Umgang mit Cookies von Drittanbietern. Der Internet Explorer behandelt dies anders als Opera, Firefox und alle anderen. Beim Internet Explorer muss man in jede Datei, die mit Cookies arbeitet folgende Header einfügen...


Related posts:<ol><li><a href='http://www.tutorialwelt.de/548/wichtiges-sicherheits-update-fur-internet-explorer-6-8.htm' rel='bookmark' title='Permanent Link: WICHTIGES Sicherheits-Update für Internet Explorer 6-8'>WICHTIGES Sicherheits-Update für Internet Explorer 6-8</a> <small>Heute möchte ich alle meine Besucher darauf aufmerksam machen, daß...</small></li>
<li><a href='http://www.tutorialwelt.de/475/it-sicherheit-internet-explorer-und-die-aurora-attacke-per-mshtml-dll.htm' rel='bookmark' title='Permanent Link: IT Sicherheit &#8211; Internet Explorer und die Aurora Attacke per mshtml.dll'>IT Sicherheit &#8211; Internet Explorer und die Aurora Attacke per mshtml.dll</a> <small>Der Internet Explorer und die Aurora Attacke. Das BSI -...</small></li>
<li><a href='http://www.tutorialwelt.de/511/webseiten-auch-fur-den-internet-explorer-6-optimieren.htm' rel='bookmark' title='Permanent Link: Webseiten auch für den Internet Explorer 6 optimieren'>Webseiten auch für den Internet Explorer 6 optimieren</a> <small>Auch wenn ich bereits in einem anderen Tutorial (Vorschau von...</small></li>
</ol>

Ähnliche Artikel bereitgestellt von <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<h1 style="font-size:16px;">Cookies von Iframes im Internet Explorer</h1>
<p>Ich bin mal wieder über eine Stolperfalle des Internet Explorer gestolpert. Ich installierte einen AJAX-Chat von Blueimp auf einem Server und sollte diesen dann auf einer anderen Seite per iframe anzeigen lassen.</p>
<p>Dies ist der Chat: <a title="kostenloser Ajax Chat für Ihre Webseite" href="https://blueimp.net/ajax/">Ajax Chat</a>.</p>
<p>Beim Test des Chats im Internet Explorer erschien die Meldung, daß Cookies benötigt werden. Cookies waren jedoch angeschaltet.</p>
<p>Eine Recherche ergab, daß die W3C eine Platform for Privacy Preferences kurz P3P erstellt hat.<br />
Wer es nachlesen möchte findet den originaltext hier: <a title="P3P - Platform for Privacy Preferences" href="http://www.w3.org/P3P/">P3P &#8211; Platform for Privacy Preferences</a><br />
Hierbei geht es um den Umgang mit Cookies von Drittanbietern. Der Internet Explorer behandelt dies anders als Opera, Firefox und alle anderen. Beim Internet Explorer muss man in jede Datei, die mit Cookies arbeitet folgende Header einfügen:</p>
<p><small>Beispielcode PHP:</small></p>
<div style="border-style: inset; border-color: #a39c87 #a39c87 #e0d7b9 #e0d7b9; width: 100%; background-color: #f4f0e2; padding: 10px; overflow: auto;"><code></p>
<pre>   header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');</pre>
<p></code></div>
<p><small>Beispielcode ASP.NET:</small></p>
<div style="border-style: inset; border-color: #a39c87 #a39c87 #e0d7b9 #e0d7b9; width: 100%; background-color: #f4f0e2; padding: 10px; overflow: auto;"><code></p>
<pre>   HttpContext.Current.Response.AddHeader("p3p","CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\"");</pre>
<p></code></div>
<p><small>Beispielcode Django:</small></p>
<div style="border-style: inset; border-color: #a39c87 #a39c87 #e0d7b9 #e0d7b9; width: 100%; background-color: #f4f0e2; padding: 10px; overflow: auto;"><code></p>
<pre>   response = render_to_response('mytemplate.html')
response["P3P"] = 'CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"'</pre>
<p></code></div>
<p><small>Beispielcode Django:</small></p>
<div style="border-style: inset; border-color: #a39c87 #a39c87 #e0d7b9 #e0d7b9; width: 100%; background-color: #f4f0e2; padding: 10px; overflow: auto;"><code></p>
<pre>   response.addHeader("P3P","CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\"")</pre>
<p></code></div>
<p>Für den Ajax-Chat von Blueimp galt es nun diesen Header an einer geeignete Stelle einzufügen. Ich habe dazu gleich die index.php genommen und an folgende Stelle im Code eingefügt:</p>
<p><small>Beispielcode Blueimp Ajax Chat index.php:</small></p>
<div style="border-style: inset; border-color: #a39c87 #a39c87 #e0d7b9 #e0d7b9; width: 100%; background-color: #f4f0e2; padding: 10px; overflow: auto;"><code></p>
<pre>// Show all errors:
error_reporting(E_ALL);
<strong>//header for iframe cookies in Internet Explorer:
header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');</strong>

// Path to the chat directory:</pre>
<p></code></div>
<p>Blueimps Ajax Chat lief nun auch innerhalb eines Iframes im Internet Explorer.</p>


<p>Related posts:<ol><li><a href='http://www.tutorialwelt.de/548/wichtiges-sicherheits-update-fur-internet-explorer-6-8.htm' rel='bookmark' title='Permanent Link: WICHTIGES Sicherheits-Update für Internet Explorer 6-8'>WICHTIGES Sicherheits-Update für Internet Explorer 6-8</a> <small>Heute möchte ich alle meine Besucher darauf aufmerksam machen, daß...</small></li>
<li><a href='http://www.tutorialwelt.de/475/it-sicherheit-internet-explorer-und-die-aurora-attacke-per-mshtml-dll.htm' rel='bookmark' title='Permanent Link: IT Sicherheit &#8211; Internet Explorer und die Aurora Attacke per mshtml.dll'>IT Sicherheit &#8211; Internet Explorer und die Aurora Attacke per mshtml.dll</a> <small>Der Internet Explorer und die Aurora Attacke. Das BSI -...</small></li>
<li><a href='http://www.tutorialwelt.de/511/webseiten-auch-fur-den-internet-explorer-6-optimieren.htm' rel='bookmark' title='Permanent Link: Webseiten auch für den Internet Explorer 6 optimieren'>Webseiten auch für den Internet Explorer 6 optimieren</a> <small>Auch wenn ich bereits in einem anderen Tutorial (Vorschau von...</small></li>
</ol></p>
<p>Ähnliche Artikel bereitgestellt von <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.tutorialwelt.de/174/cookies-von-iframes-im-internet-explorer.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
