I am experiencing a problem with a dynamically sizing iFrame. Essentially it works perfectly in IE 7,8,9 but only in Quirks mode and runs correctly in chrome and firefox. So my problem relates to Standard document modes for ie 7,8,9.
When in IE in standard form it squeezes the content into a scrollbox about 200px in height with a vertical scrollbar only. I can edit the style to use a specific height i.e 600px instead of height 100% which will look fine…however the nature of the content varies a good bit in terms of height.
Does anybody have any solutions to this? Seems a bit odd!
Scrolling=no maintains the squeezed content, I just can’t scroll down then. overflow in CSS is doing nothing. Any ideas?
I have a solution that runs in IE 7 +
It uses jQuery
Thats the javascript code. Here is the html.
Running it in one page:
MAKE SURE you update the iframes SRC