<html>
<head>
</head>
<body>
<script type="application/javascript">
window.addEventListener('DOMContentLoaded', function(e) {
var iFrame = document.getElementById('iFrame');
iFrame.width = iFrame.contentWindow.document.body.scrollWidth;
iFrame.height = iFrame.contentWindow.document.body.scrollHeight;
});
</script>
<iframe src="content.html" id="iFrame"></iframe>
</body>
</html>
<table>
<tr>
<td>
<iframe src="content.html" id="iFrame"></iframe>
</td>
</tr>
</table>