Quote:
Originally Posted by macastaire
Hey there,
I was wondering why I can set width to 100% and it fills out the screen, but when I set height to 100% it fills out the screen in my WYSIWYG, but not in fx the IE?!
Code:
<iframe src="chooser.html" name="surfdownload" width="100%" marginwidth="0" height="100%" marginheight="0" scrolling="Auto" frameborder="0"></iframe>
Anyone who got a solution. Maybe something else than iframe?
Link to the problem; http://www.tinycut.net/testraw/surfdownload.php
|
I'm not sure if an iframe in this case is the best solution, but you can change the height of the iframe using JavaScript. On the onload and onresize events, change the height of the iframe based on the size of the window.
|