Hi,
I want to create a resizable IFrame, same as resizable Div in the following URL
http://webfx.eae.net/dhtml/genresize/genresize.html
Can it be possible?
Hi,
I want to create a resizable IFrame, same as resizable Div in the following URL
http://webfx.eae.net/dhtml/genresize/genresize.html
Can it be possible?
Last edited by jscheuer1; 05-16-2008 at 08:01 AM. Reason: fix link
Both this script and iframe are quirky beasts, but Nile is right if the iframe is set to 100% x 100%:
Code:<div style="width:300px;height:300px;border:2px solid red;" class="resizeMe"> <iframe src="some.htm" width="100%" height="100%" scrolling="no" frameborder="0"></iframe> </div>
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Hi, I have the same problem,i set ifame tag height:100%; width:100%; but the height size it heighter than the content.
and another problem is that<div> background-color is green, the iframe background-color is working in Firefox, but not IE, in IE, the <iframe> has no color to match the <div> background-color.
Here is the code:
<div style="width:560; bgcolor = green" >
<iframe name="maintFrame" src="front_page.html" style="border:1; position:relative; top:0; left:0; right:0; height:100%; width:100%; overflow:auto"></iframe>
</div>
help!!
Bookmarks