This is a problem that i have googled for hours and can't find an answer so i resort to asking on here because i found similar question on here.
I have a page i use, It has an iframe on it but it is not regular iframe, The iframe has a resizing script that resizes the height of the iframe to the height of the page being viewed. Using this script it eliminates scrolling!
This has all been working out great but then i realise for it to function properly in IE i need to add a doctype, When i add a doctype to it it functions properly in IE but it doesn't work in firefox. In firefox the frame doesnt resize and it is like 50px height.
I have tried a bunch of different doctypes and they don't work.
This is the problem page (with doctype - works properly only on IE):
http://ww-chat.com/games.php
This is the page without a doctype (Works properly only on FIREFOX - not IE):
http://ww-chat.com/games-nodoctype.php
This is the code that i use for the iframe:
<iframe id="games" name="games" src="http://ww-chat.com/games/" frameborder=0 scrolling=no width="990" onload="if (window.parent && window.parent.autoIframe) {window.parent.autoIframe('games');}"></iframe>
This is the script that it uses to resize the frame:
http://ww-chat.com/iframeresize.js
I have other iframes on my website which don't use the resize script and they work perfectly fine (with doctype!).
Thanks,
Worldwideebm