Solution 1 :
I have an
iframe with content which is dynamic in height and width.
<iframe id="myIframe" src="../xxx/xxx" scrolling="no" frameBorder="0"></iframe>
iframe is no bigger than it’s content.
var iframe = document.getElementById("myIframe"); iframe.height = iframe.contentWindow.document.body.scrollHeight + 'px'; iframe.width = iframe.contentWindow.document.body.scrollWidth + 'px';
How can I do this using only CSS? Thanks to anyone who can provide guidance.
Comment posted by Rene van der Lende
For as far I know the limiting factors are the width and height of 1) the parent of the