lovelf
Dec 2nd, 2008, 08:38 PM
Hi, I am displaying a frame inside a table:
<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>
With PHP I get the value of "n" from the url that has about 15.000+ different values
<?php $n=$_GET['n'] ?>
My problem is that in IE the scrollbar shows up twice, seems like the table size does not adapt to the frame size on IE.
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?
<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>
With PHP I get the value of "n" from the url that has about 15.000+ different values
<?php $n=$_GET['n'] ?>
My problem is that in IE the scrollbar shows up twice, seems like the table size does not adapt to the frame size on IE.
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?