|
|||
CSS Druckvorschau eines IFrames
Hallo,
zum Testen habe ich eine ganz einfache Seite in HTML mit einem IFrame gestaltet. In diesen wird je nach Menupunkt eine unterschiedliche HTML-Datei geladen und mit Javascript die Höhe des IFrames an den Inhalt angepasst. Der Quellcode im body lautet: <body> <iframe id="iframe_inhalt" name="iframe_inhalt" class="myiframe" src="start.html" onLoad="resizeMe(this);" > </iframe> </body> Nun habe ich dazu eine print Media Query print.css geschrieben. @media print { body { position: relative; width: 100%; height: auto; margin: 0; padding: 0; overflow: visible; page-break-inside: auto; } #iframe_inhalt { position: relative; border: none; float: none; margin: 0; padding: 0; width: 90%; height: auto; overflow: visible; float: none; } img { position: relative; border:none; page-break-inside: avoid; } } Aber egal was ich auch mache, in der Druckvorschau wird mir immer nur die erste Seite dargestellt und auch am Ende abgeschnitten. Wie kann ich das beheben? |
Sponsored Links |
Themen-Optionen | |
Ansicht | |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
Einbindung von frei erhältlichen Scripten - CSS Problem | DonL | CSS | 1 | 22.01.2011 17:09 |
2 CSS Files -> 1 CSS File | Habi | CSS | 7 | 17.02.2010 16:25 |
MYspace mehr als nur CSS oder ? | Vinceone | CSS | 0 | 12.07.2007 03:21 |
Eric Meyer's CSS | Petty | Ressourcen | 0 | 21.11.2005 09:18 |
Mozilla ignoriert externes css | DarkWanderer | CSS | 9 | 22.09.2005 12:39 |