Code: Select all
<table style="height:100%; width:100%;"><tr><td>
<iframe frameborder="0" width="100%" height="100%" src="http://www.asite.com/directory/file.php?a=<?php echo $n; ?>&code=codehere">
</td></tr></table>Code: Select all
<?php $n=$_GET['n'] ?>On all other browsers, Firefox, Opera, Chrome, Safari, etc, the table adapts to the size of the frame and the scrollbar does not show up for the frame, the actual page that contains the frame gets the height of the frame through the table. With Internet Explorer it does not happen.
I cannot set a height for the table different than "100%" since all files I need to display inside the frame have different heights.
Could someone provide a solution please?