Forum Moderators: open
<html>
<head>
<title>resize iframe</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<table style="height:100%; width:100%;" border="1">
<tr>
<td style="height:50px;">
test
</td>
</tr>
<tr>
<td>
<iframe frameborder="yes" src="test2.htm" width="100%" height="100%" scrolling="auto"></iframe>
</td>
</tr>
</table>
</body>
</html>
I am sure you have noticed that it is in quirks mode unfortunately after much huffing and puffing for many days this is the only way i can get my html tabs and content to look (and resize without loads of scrollbars) the same in IE and FF (IE Grrr). My only problem now is the iframe which the example code above emulates.
Any ideas would be great, Cheers All.
iframe expands vertically to the bottom of the window when in quirks mode, and only to approximately 200px when in standards-compliance mode. In the latter mode, you can make the browser use the full height of the browser window if you declare the height of the html and body elements to 100%. Are you saying that the
iframe does not fill the spece even in quirks mode?
The iframe stops resizing and stays at a fixed position approx 200px high. This only happens in FF and not in IE providing IE is in Quirks mode.
Cheers,
Andy.
Link: [groups.google.co.uk...]
If the iframe is outside of the table it resizes perfectly.
Thanks for your help.