Onbekend |
|
Hoe kan ik de onderste rij van mijn tabel waarin mijn iframe staat laten uitrekken tot hoeveel tekst er is in de pagina die in het iframe wordt geladen??
voorbeeld: www.pauldeloose.be
zoals je ziet staat de border van de tabel altijd heel wat lager dan de tekst.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Schilderwerken Paul De Loose</title>
<style type="text/css">
<!--
body {
background: #000099;
text-align: center;
}
table {
border: 2px dashed #FFFFFF;
text-align: left;
}
a:link {
background: #FFFFFF;
display: block;
text-decoration: none;
padding-left: 5px;
font-family: "Courier New", Courier, mono;
}
a:hover {
text-decoration: none;
background: #999999;
display: block;
border: 1px dotted #000000;
}
a:visited {
text-decoration: none;
background: #FFFFFF;
display: block;
}
a:active {
text-decoration: none;
display: block;
}
.navigatie {
background: #999999;
display: block;
text-align: center;
font: bold 15px "Times New Roman", Times, serif;
}
iframe {
border-top: 2px dashed #FFFFFF;
border-right: #FFFFFF;
border-bottom: #FFFFFF;
border-left: #FFFFFF;
}
-->
</style>
</head>
<body>
<div align="center">
<table width="650" cellspacing="0" cellpadding="0">
<tr>
<td width="534" height="89"> </td>
<td width="112">
<span class="navigatie">Navigatie paneel</span>
<a href="home.htm" target="mainframe">Home</a>
<a href="werken.htm" target="mainframe">Werken</a>
<a href="contact.htm" target="mainframe">Contact</a>
<a href="fotos.htm" target="mainframe">Foto's</a></td>
</tr>
<tr>
<td height="600" colspan="2"><iframe name="mainframe" src="home.htm" width="100%" height="100%" frameborder="0"></iframe></td>
</tr>
</table>
<p> </p>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Schilderwerken Paul De Loose</title> <style type="text/css"> <!-- body { background: #000099; text-align: center; } table { border: 2px dashed #FFFFFF; text-align: left; } background: #FFFFFF; display: block; text-decoration: none; padding-left: 5px; font-family: "Courier New", Courier, mono; } a:hover { text-decoration: none; background: #999999; display: block; border: 1px dotted #000000; } a:visited { text-decoration: none; background: #FFFFFF; display: block; } a:active { text-decoration: none; display: block; } .navigatie { background: #999999; display: block; text-align: center; font: bold 15px "Times New Roman", Times, serif; } iframe { border-top: 2px dashed #FFFFFF; border-right: #FFFFFF; border-bottom: #FFFFFF; border-left: #FFFFFF; } --> </style> </head> <body> <div align="center"> <table width="650" cellspacing="0" cellpadding="0"> <tr> <td width="534" height="89"> </td> <td width="112"> <span class="navigatie">Navigatie paneel</span> <a href="home.htm" target="mainframe">Home</a> <a href="werken.htm" target="mainframe">Werken</a> <a href="contact.htm" target="mainframe">Contact</a> <a href="fotos.htm" target="mainframe">Foto's</a></td> </tr> <tr> <td height="600" colspan="2"><iframe name="mainframe" src="home.htm" width="100%" height="100%" frameborder="0"></iframe></td> </tr> </table> <p> </p> </div> </body> </html>
|