Gernot Back: Automatischer Reload einer Seite?

Beitrag lesen

Hallo Nicolai,

ich habe nun meinen gewünschten Nachlade-Befehl gefunden. Auf meiner Webseite wird der iframe leider beim Firefox-Browser nicht direkt auf die ganze <td> ausgebreitet, so entstand ein hässlicher Rand. Durch einen Reload passt sich der iframe richtig an und der hässliche Rand verschwindet.

Das habe ich geahnt, das geht doch auch ohne Javascript und umständliches, Traffic verschwendendes Nachladen, nur mit CSS:

  
<html>  
<head>  
<title></title>  
[code lang=css]  
html, body, table#myLayoutTable, iframe#myIframe {  
  width:100%;  
  height:100%;  
  margin:0;  
  padding:0;  
}  
  
#ifrcell {  
border:solid 1px black;  
}  
  
tr.vertikalAbstand {  
  height:120px;  
}  
  
td.horizontalAbstand {  
  width:350px;  
}  

</style>
</head>
<body >
<table id="myLayoutTable" border="0">
<tr class="vertikalAbstand">
<td colspan="3"></td>
</tr>
<tr>
<td class="horizontalAbstand"></td>
<td id="ifrcell">
<iframe frameborder="no" id="myIframe" src="deineIframeSeite.html"></iframe>
</td>
<td class="horizontalAbstand"></td>
</tr>
<tr class="vertikalAbstand">
<td colspan="3"></td>
</tr>
</table>
</body>
</html>
[/code]
Gruß Gernot