iFrame auf 100% Höhe setzen ?

Status
Nicht offen für weitere Antworten.

Trash

Erfahrenes Mitglied
moin,
kann mir jemand sagen woran es liegt, dass die Datei im iFrame nicht ganz dargestellt wird ?

Ich poste mal einen Ausschnitt aus dem Dokument. Ich denke aber, da die Tabelle schon ne Höhe von 100% hat, orientiert sich das iFrame auch dadran ? Da ganze ist in einem div-Container welcher aber auch 80% Höhe hat!

Danke für die Hilfe!

HTML:
        <table border="0" cellpadding="0" cellspacing="0" width="60%" height="100%">
                <tr>
                        <td>

                        </td>
                </tr>
                <tr>
                        <td>
                        <!-- INHALT --->
<iframe frameborder="0" name="inhalt" style="width:100%;height:100%" src="dsl_uebung.xml" scrolling="no"> 
TEst
</iframe>
                        
                        
                     
                        </td>
                </tr>
        </table>
 
Vermutlich liegt es an der (leeren) Tabellenzeile vor dem iFrame.

Hier mal eine Variante, die ohne Tabelle auskommt:

HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title></title>

<style type="text/css">
<!--
html, body {
height: 100%;
}

div.iframeBox {
height: 80%;
width: 60%;
}
-->
</style>

</head>
<body>

<div class="iframeBox">
     <!-- INHALT --->
     <iframe frameborder="1" name="inhalt" style="width:100%;height:100%" src="dsl_uebung.xml" scrolling="no">TEst</iframe>
</div>

</body>
</html>
 
Status
Nicht offen für weitere Antworten.

Neue Beiträge

Zurück